Exception: Poncho::NotFoundError

Inherits:
ClientError show all
Defined in:
lib/poncho/error.rb

Instance Attribute Summary

Attributes inherited from ClientError

#message

Instance Method Summary collapse

Methods inherited from ClientError

#initialize

Methods inherited from Error

#as_json, #to_json

Constructor Details

This class inherits a constructor from Poncho::ClientError

Instance Method Details

#codeObject



67
68
69
# File 'lib/poncho/error.rb', line 67

def code
  404
end

#typeObject



71
72
73
# File 'lib/poncho/error.rb', line 71

def type
  :not_found
end