Method | Description | |
---|---|---|
FromException ( |
Creates a new T:Stumps.Web.Responses.ErrorJsonResponse from an exception.
|
|
FromMessage ( string message ) : |
Creates a new T:Stumps.Web.Responses.ErrorJsonResponse from an error message.
|
Method | Description | |
---|---|---|
ErrorJsonResponse ( |
Prevents a default instance of the T:Stumps.Web.Responses.ErrorJsonResponse class from being created.
|
public static FromException ( |
||
ex | The exception used to generate the error. | |
return |
public static FromMessage ( string message ) : |
||
message | string | The error message. |
return |