SupermasterWriteResult
final class SupermasterWriteResult (View source)
Outcome of a supermaster write. Callers read the reason, its code and the refusal from here instead of a message side channel.
Constants
| ERR_INVALID_IP |
|
| ERR_INVALID_HOSTNAME |
|
| ERR_INVALID_ACCOUNT |
|
| ERR_EXISTS |
|
| ERR_NOT_FOUND |
|
| ERR_BACKEND |
|
Methods
static SupermasterWriteResult
ok()
No description
static SupermasterWriteResult
refused(string $code, string $message, Refusal $refusal = Refusal::INVALID_INPUT)
No description
Details
static SupermasterWriteResult
ok()
No description
static SupermasterWriteResult
refused(string $code, string $message, Refusal $refusal = Refusal::INVALID_INPUT)
No description