Class: Xberg::ErrorMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeErrorMetadata

Returns a new instance of ErrorMetadata.

Parameters:

  • error_type: (String)
  • message: (String)


1379
# File 'sig/types.rbs', line 1379

def initialize: (error_type: String, message: String) -> void

Instance Attribute Details

#error_typeString (readonly)

Returns the value of attribute error_type.

Returns:

  • (String)


1376
1377
1378
# File 'sig/types.rbs', line 1376

def error_type
  @error_type
end

#messageString (readonly)

Returns the value of attribute message.

Returns:

  • (String)


1377
1378
1379
# File 'sig/types.rbs', line 1377

def message
  @message
end