Class: Xberg::ErrorMetadata
- Inherits:
-
Object
- Object
- Xberg::ErrorMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#error_type ⇒ String
readonly
Returns the value of attribute error_type.
-
#message ⇒ String
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize ⇒ ErrorMetadata
constructor
A new instance of ErrorMetadata.
Constructor Details
#initialize ⇒ ErrorMetadata
Returns a new instance of ErrorMetadata.
807 |
# File 'sig/types.rbs', line 807
def initialize: (error_type: String, message: String) -> void
|
Instance Attribute Details
#error_type ⇒ String (readonly)
Returns the value of attribute error_type.
804 805 806 |
# File 'sig/types.rbs', line 804 def error_type @error_type end |
#message ⇒ String (readonly)
Returns the value of attribute message.
805 806 807 |
# File 'sig/types.rbs', line 805 def @message end |