共用方式為


ErrorDetail interface

封裝程式代碼、訊息和建議的錯誤詳細數據類別。

屬性

code

錯誤碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

message

與程式代碼相關的錯誤訊息。 注意:這個屬性不會串行化。 它只能由伺服器填入。

recommendations

建議字串清單。 注意:這個屬性不會串行化。 它只能由伺服器填入。

屬性詳細資料

code

錯誤碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

code?: string

屬性值

string

message

與程式代碼相關的錯誤訊息。 注意:這個屬性不會串行化。 它只能由伺服器填入。

message?: string

屬性值

string

recommendations

建議字串清單。 注意:這個屬性不會串行化。 它只能由伺服器填入。

recommendations?: string[]

屬性值

string[]