Errors
class Errors (View source)
RPC errors manager
Methods
__construct(LoggerInterface $logger)
Class constructor
bool
add(int $code, string $message)
Add an error
bool
delete(int $code)
Delete an error
mixed
get(int $code = null)
Get registered error(s)