Class: TencentCloud::Hunyuan::V20230901::ErrorMsg
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Hunyuan::V20230901::ErrorMsg
- Defined in:
- lib/v20230901/models.rb
Overview
运行时异常信息。
Instance Attribute Summary collapse
-
#Code ⇒ Object
4000 服务内部异常。 4001 请求模型超时。.
-
#Msg ⇒ Object
4000 服务内部异常。 4001 请求模型超时。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(msg = nil, code = nil) ⇒ ErrorMsg
constructor
A new instance of ErrorMsg.
Constructor Details
#initialize(msg = nil, code = nil) ⇒ ErrorMsg
Returns a new instance of ErrorMsg.
748 749 750 751 |
# File 'lib/v20230901/models.rb', line 748 def initialize(msg=nil, code=nil) @Msg = msg @Code = code end |
Instance Attribute Details
#Code ⇒ Object
4000 服务内部异常。4001 请求模型超时。
746 747 748 |
# File 'lib/v20230901/models.rb', line 746 def Code @Code end |
#Msg ⇒ Object
4000 服务内部异常。4001 请求模型超时。
746 747 748 |
# File 'lib/v20230901/models.rb', line 746 def Msg @Msg end |
Instance Method Details
#deserialize(params) ⇒ Object
753 754 755 756 |
# File 'lib/v20230901/models.rb', line 753 def deserialize(params) @Msg = params['Msg'] @Code = params['Code'] end |