AWS SDK for .NET Documentation
Error Class
AmazonAmazon.SimpleNotificationService.ModelError Did this page help you?   Yes   No    Tell us about it...
Error associated with the request.
Declaration Syntax
C#
public class Error
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Error()()()()
Initializes a new instance of the Error class

Code
The specific error code.

Detail
Details associated with the error.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IsSetCode()()()()
Checks if Code property is set

IsSetDetail()()()()
Checks if Detail property is set

IsSetMessage()()()()
Checks if Message property is set

IsSetType()()()()
Checks if Type property is set

Message
A summary of the error.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Type
The error type. There are two types of error codes: client and server. Error codes are prefixed with Client. For example: Client.AuthFailure.

WithCode(String) Obsolete.
Sets the specific error code.

WithDetail(Object) Obsolete.
Sets the details associated with the error.

WithMessage(String) Obsolete.
Sets the summary of the error.

WithType(String) Obsolete.
Sets the error type. There are two types of error codes: client and server. Error codes are prefixed with Client. For example: Client.AuthFailure.

Inheritance Hierarchy
Object
Error

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)