Table of Contents

Class MailtrapException

Namespace
Mailtrap.Core.Exceptions
Assembly
Mailtrap.Abstractions.dll

Generic exception for the Mailtrap library.

public abstract class MailtrapException : Exception, ISerializable
Inheritance
MailtrapException
Implements
Derived

Constructors

MailtrapException()

Initializes a new instance of the MailtrapException class.

protected MailtrapException()

MailtrapException(string)

Initializes a new instance of the MailtrapException class with a specified error message.

protected MailtrapException(string message)

Parameters

message string

MailtrapException(string, Exception)

Initializes a new instance of the MailtrapException class with a specified error message and a reference to the inner exception that is the cause of this exception.

protected MailtrapException(string message, Exception innerException)

Parameters

message string
innerException Exception