33 lines
777 B
C#
33 lines
777 B
C#
|
namespace Galaeth.ApiServer.Constants;
|
||
|
|
||
|
/// <summary>
|
||
|
/// Api specific error codes.
|
||
|
/// </summary>
|
||
|
public static class ApiErrorCodes
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Validation failed.
|
||
|
/// </summary>
|
||
|
public const string UnknownError = "unknown-error";
|
||
|
|
||
|
/// <summary>
|
||
|
/// Illegal method call.
|
||
|
/// </summary>
|
||
|
public const string UnknownMethod = "unknown-method";
|
||
|
|
||
|
/// <summary>
|
||
|
/// Illegal method call.
|
||
|
/// </summary>
|
||
|
public const string IllegalMethod = "illegal-method";
|
||
|
|
||
|
/// <summary>
|
||
|
/// Validation failed.
|
||
|
/// </summary>
|
||
|
public const string UnsupportedBody = "unsupported-body";
|
||
|
|
||
|
/// <summary>
|
||
|
/// Unsupported user agent.
|
||
|
/// </summary>
|
||
|
public const string UnsupportedUserAgent = "unsupported-user-agent";
|
||
|
}
|