Module: Lightpack::Errors

Defined in:
lib/lightpack.rb

Defined Under Namespace

Classes: AuthenticationFailed, AuthenticationRequired, Busy, Error, NotConnected, NotLocked, UnknownCommand

Constant Summary collapse

MESSAGES =
{
  "authorization required"  => AuthenticationRequired,
  "unknown command"         => UnknownCommand,
  "not locked"              => NotLocked,
  "busy"                    => Busy,
  "error"                   => Error
}.freeze