Class: Azure::DataMigration::Mgmt::V2018_03_15_preview::Models::ReportableException
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_03_15_preview::Models::ReportableException
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb
Overview
Exception object for all custom exceptions
Instance Attribute Summary collapse
-
#file_path ⇒ String
The path to the file where exception occurred.
-
#h_result ⇒ Integer
exception.
-
#line_number ⇒ String
The line number where exception occurred.
-
#message ⇒ String
Error message.
-
#stack_trace ⇒ String
Stack trace.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ReportableException class as Ruby Hash.
Instance Attribute Details
#file_path ⇒ String
Returns The path to the file where exception occurred.
19 20 21 |
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb', line 19 def file_path @file_path end |
#h_result ⇒ Integer
exception
26 27 28 |
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb', line 26 def h_result @h_result end |
#line_number ⇒ String
Returns The line number where exception occurred.
22 23 24 |
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb', line 22 def line_number @line_number end |
#message ⇒ String
Returns Error message.
16 17 18 |
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb', line 16 def @message end |
#stack_trace ⇒ String
Returns Stack trace.
29 30 31 |
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb', line 29 def stack_trace @stack_trace end |
Class Method Details
.mapper ⇒ Object
Mapper for ReportableException class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ReportableException', type: { name: 'Composite', class_name: 'ReportableException', model_properties: { message: { client_side_validation: true, required: false, serialized_name: 'message', type: { name: 'String' } }, file_path: { client_side_validation: true, required: false, serialized_name: 'filePath', type: { name: 'String' } }, line_number: { client_side_validation: true, required: false, serialized_name: 'lineNumber', type: { name: 'String' } }, h_result: { client_side_validation: true, required: false, serialized_name: 'hResult', type: { name: 'Number' } }, stack_trace: { client_side_validation: true, required: false, serialized_name: 'stackTrace', type: { name: 'String' } } } } } end |