共用方式為


StatusError interface

定義狀態組態錯誤屬性。

屬性

code

錯誤分類的錯誤代碼(例如:「400」、「404」、「500」等)。

details

描述每個錯誤狀態的錯誤詳細資料陣列。

message

人類可讀的有用錯誤訊息,以提供錯誤的其他內容 (例如:「功能識別碼 'foo' 不存在」)。

屬性詳細資料

code

錯誤分類的錯誤代碼(例如:「400」、「404」、「500」等)。

code?: string

屬性值

string

details

描述每個錯誤狀態的錯誤詳細資料陣列。

details?: ErrorDetails[]

屬性值

message

人類可讀的有用錯誤訊息,以提供錯誤的其他內容 (例如:「功能識別碼 'foo' 不存在」)。

message?: string

屬性值

string