# Class: updateCustomDataError
• updateCustomDataError()
# Constructors
# constructor
+ new updateCustomDataError(failedItemList
: UpdateBackpackItemsRes): updateCustomDataError
Overrides void
# 参数:
属性 | 类型 |
---|---|
failedItemList | UpdateBackpackItemsRes |
UpdateBackpackItemsRes
属性 | 类型 | 描述 |
---|---|---|
failedItemList | ItemBuffDataFailedInfo[] | - |
# 返回值:
# Properties
# Readonly
code
• code: number
Inherited from updateCustomDataError.code
错误代码
Returns: number
# Readonly
failItems
• failItems: FailItems[]
Returns: FailItems[]
# Readonly
message
• message: string
Inherited from updateCustomDataError.message
Overrides void
错误消息
Returns: string
# name
• name: string
Inherited from updateCustomDataError.name
Returns: string
# Optional
stack
• stack? : string
Inherited from updateCustomDataError.stack
Returns: string
# Methods
# Static
create
▸ create(e
: unknown, msgHandler?
: CustomErrorMsgHandler): MogsError
Inherited from updateCustomDataError.create
从未知错误 创建一个 MogsError 实例
todo
can this method create a legitimate error stacktrace?
# 参数:
属性 | 类型 |
---|---|
e | unknown |
msgHandler? | CustomErrorMsgHandler |
# 返回值:
MogsError