Class AuthorizationError
Represents an authorization error with a code, message, and additional data.
Inheritance
System.Object
AuthorizationError
Implements
System.IEquatable<AuthorizationError>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: MediatorForge.Utilities
Assembly: MediatorForge.dll
Syntax
public class AuthorizationError : IEquatable<AuthorizationError>
Constructors
| Improve this Doc View SourceAuthorizationError(String, String, Object)
Represents an authorization error with a code, message, and additional data.
Declaration
public AuthorizationError(string Code, string Message, object AdditionalData = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | Code | |
System.String | Message | |
System.Object | AdditionalData |
Properties
| Improve this Doc View SourceAdditionalData
Declaration
public object AdditionalData { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Code
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Message
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>