Exception: SchemaRegistry::ResponseError
- Defined in:
- lib/schema_registry/client.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(code, message) ⇒ ResponseError
Returns a new instance of ResponseError.
8 9 10 11 |
# File 'lib/schema_registry/client.rb', line 8 def initialize(code, ) @code = code super() end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
6 7 8 |
# File 'lib/schema_registry/client.rb', line 6 def code @code end |