Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalTestException ¶
type GlobalTestException struct { // Represents the server's error code ServerCode int `json:"ServerCode"` // Represents the server's exception message ServerMessage string `json:"ServerMessage"` }
GlobalTestException - To test specific global exceptions.
func (*GlobalTestException) Error ¶
func (e *GlobalTestException) Error() string
type LocalTestException ¶
type LocalTestException struct { // Represents the specific endpoint info SecretMessageForEndpoint string `json:"SecretMessageForEndpoint"` // Represents the server's error code ServerCode int `json:"ServerCode"` // Represents the server's exception message ServerMessage string `json:"ServerMessage"` }
LocalTestException - To test specific global exceptions.
func (*LocalTestException) Error ¶
func (e *LocalTestException) Error() string
type NestedModelException ¶
type NestedModelException struct { ServerCode string `json:"ServerCode"` ServerMessage string `json:"ServerMessage"` Model Validate `json:"model"` }
func (*NestedModelException) Error ¶
func (e *NestedModelException) Error() string
type SDKError ¶
func NewSDKError ¶
Click to show internal directories.
Click to hide internal directories.