Class: WaCloudApi::Message::Error
- Inherits:
-
Struct
- Object
- Struct
- WaCloudApi::Message::Error
- Defined in:
- lib/wa_cloud_api/message/error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#error_data ⇒ Object
Returns the value of attribute error_data.
-
#error_subcode ⇒ Object
Returns the value of attribute error_subcode.
-
#fbtrace_id ⇒ Object
Returns the value of attribute fbtrace_id.
-
#message ⇒ Object
Returns the value of attribute message.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
5 6 7 |
# File 'lib/wa_cloud_api/message/error.rb', line 5 def code @code end |
#error_data ⇒ Object
Returns the value of attribute error_data
5 6 7 |
# File 'lib/wa_cloud_api/message/error.rb', line 5 def error_data @error_data end |
#error_subcode ⇒ Object
Returns the value of attribute error_subcode
5 6 7 |
# File 'lib/wa_cloud_api/message/error.rb', line 5 def error_subcode @error_subcode end |
#fbtrace_id ⇒ Object
Returns the value of attribute fbtrace_id
5 6 7 |
# File 'lib/wa_cloud_api/message/error.rb', line 5 def fbtrace_id @fbtrace_id end |
#message ⇒ Object
Returns the value of attribute message
5 6 7 |
# File 'lib/wa_cloud_api/message/error.rb', line 5 def @message end |
#type ⇒ Object
Returns the value of attribute type
5 6 7 |
# File 'lib/wa_cloud_api/message/error.rb', line 5 def type @type end |
Instance Method Details
#handle_error ⇒ Object
7 8 9 |
# File 'lib/wa_cloud_api/message/error.rb', line 7 def handle_error raise WaCloudApi::Error, end |