Class ServiceError
Assembly: Glitch9.IO.dll
Syntax
public sealed class ServiceError : IServiceError
Constructors
|
Edit this page
View Source
ServiceError(string, string, string, string, long?, IReadOnlyDictionary<string, JToken>)
Declaration
public ServiceError(string message, string type = null, string code = null, string param = null, long? statusCode = null, IReadOnlyDictionary<string, JToken> data = null)
Parameters
Properties
|
Edit this page
View Source
Code
Declaration
public string Code { get; }
Property Value
|
Edit this page
View Source
Data
Declaration
public IReadOnlyDictionary<string, JToken> Data { get; }
Property Value
|
Edit this page
View Source
Message
Declaration
public string Message { get; }
Property Value
|
Edit this page
View Source
Param
Declaration
public string Param { get; }
Property Value
|
Edit this page
View Source
StatusCode
Declaration
public long? StatusCode { get; }
Property Value
|
Edit this page
View Source
Type
Declaration
public string Type { get; }
Property Value
Methods
|
Edit this page
View Source
GetErrorMessage(bool)
Declaration
public string GetErrorMessage(bool verbose = false)
Parameters
| Type |
Name |
Description |
| bool |
verbose |
|
Returns
|
Edit this page
View Source
ToInnerException()
Declaration
public Exception ToInnerException()
Returns
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods