class CB::Client::Error
- CB::Client::Error
- Exception
- Reference
- Object
Defined in:
client/error.crConstant Summary
-
Log =
::Log.for("client")
Constructors
Instance Method Summary
- #bad_request?
- #forbidden?
- #message
- #method : String
- #method=(method : String)
- #not_found?
- #path : String
- #path=(path : String)
- #resp : HTTP::Client::Response
- #resp=(resp : HTTP::Client::Response)
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
- #unauthorized?
Constructor Detail
Instance Method Detail
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>