Sha256: 94138ef3c42da55b0ee786b09c8dbc3ebbb6cdf9cf482b07be1dd40949e7c16e
Contents?: true
Size: 282 Bytes
Versions: 3
Compression:
Stored size: 282 Bytes
Contents
require 'kjess/error' class KJess::Response class ClientError < KJess::Response keyword 'CLIENT_ERROR' arity 1 def message args.join(' ') end def error? true end def exception KJess::ClientError.new( message ) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kjess-1.2.0 | lib/kjess/response/client_error.rb |
kjess-1.1.0 | lib/kjess/response/client_error.rb |
kjess-1.0.0 | lib/kjess/response/client_error.rb |