Implemented Tamer & Cache Drivers (WIP)
This commit is contained in:
parent
26f0f31cc6
commit
d346c4d23d
39 changed files with 2211 additions and 913 deletions
|
@ -7,7 +7,17 @@
|
|||
/**
|
||||
* An internal server error occurred.
|
||||
*/
|
||||
public const INTERNAL_SERVER_ERROR = 0;
|
||||
public const INTERNAL_SERVER_ERROR = -1000;
|
||||
|
||||
/**
|
||||
* The invoker does not have permission to perform the requested action.
|
||||
*/
|
||||
public const ACCESS_DENIED = -1001;
|
||||
|
||||
/**
|
||||
* The requested method is disabled.
|
||||
*/
|
||||
public const METHOD_DISABLED = -1002;
|
||||
|
||||
|
||||
|
||||
|
@ -37,19 +47,13 @@
|
|||
public const CLIENT_DISABLED = 1004;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* The requested user entity was not found.
|
||||
*/
|
||||
public const PEER_NOT_FOUND = 2000;
|
||||
|
||||
/**
|
||||
* The requested peer association was not found.
|
||||
*/
|
||||
public const PEER_ASSOCIATION_NOT_FOUND = 3000;
|
||||
|
||||
/**
|
||||
* The requested peer association type is invalid.
|
||||
*/
|
||||
public const INVALID_PEER_ASSOCIATION_TYPE = 3001;
|
||||
public const ALL = [
|
||||
self::INTERNAL_SERVER_ERROR,
|
||||
self::ACCESS_DENIED,
|
||||
self::CLIENT_NOT_FOUND,
|
||||
self::INVALID_CLIENT_NAME,
|
||||
self::INVALID_CLIENT_DESCRIPTION,
|
||||
self::SIGNATURE_VERIFICATION_FAILED,
|
||||
self::CLIENT_DISABLED
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue