Exception: POSLavu::Client::CommandFailedError

Inherits:
Error
  • Object
show all
Defined in:
lib/poslavu/client.rb

Overview

Represents an error returned by the API. POSLavu couldn’t even be bothered to use HTTP status codes, so there’s nothing machine-readable here. If you need to distinguish various types of errors, you’ll have to do string matching and hope they don’t change anything.