enum PlaceOS::API::Models::Websocket::Response::Error::Code

Defined in:

placeos/api/models/websocket/response/error.cr

Enum Members

ParseError = 0
BadRequest = 1
AccessDenied = 2
RequestFailed = 3
UnknownCommand = 4
SystemNotFound = 5
ModuleNotFound = 6
UnexpectedFailure = 7

Instance Method Summary

Instance Method Detail

def access_denied? #

[View source]
def bad_request? #

[View source]
def module_not_found? #

[View source]
def parse_error? #

[View source]
def request_failed? #

[View source]
def system_not_found? #

[View source]
def unexpected_failure? #

[View source]
def unknown_command? #

[View source]