Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadRequest ¶ added in v0.29.0
type BadRequest struct {
Errors []BadRequestErrors `json:"errors,omitempty"`
}
func (*BadRequest) Error ¶ added in v0.29.0
func (e *BadRequest) Error() string
type BadRequestErrors ¶ added in v0.29.0
type BadRequestErrors struct {
Code *int `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *int `json:"status,omitempty"`
}
func (*BadRequestErrors) GetCode ¶ added in v0.29.0
func (b *BadRequestErrors) GetCode() *int
func (*BadRequestErrors) GetMessage ¶ added in v0.29.0
func (b *BadRequestErrors) GetMessage() *string
func (*BadRequestErrors) GetStatus ¶ added in v0.29.0
func (b *BadRequestErrors) GetStatus() *int
type Error ¶ added in v0.29.0
type Error struct {
Errors []Errors `json:"errors,omitempty"`
}
Error - Unauthorized
type Errors ¶
type Errors struct {
Code *int `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Status *int `json:"status,omitempty"`
}
func (*Errors) GetMessage ¶
type SDKError ¶
func NewSDKError ¶
type Unauthorized ¶ added in v0.29.0
type Unauthorized struct {
}
func (*Unauthorized) Error ¶ added in v0.29.0
func (e *Unauthorized) Error() string
type UnauthorizedErrors ¶ added in v0.29.0
type UnauthorizedErrors struct {
}
func (*UnauthorizedErrors) GetCode ¶ added in v0.29.0
func (u *UnauthorizedErrors) GetCode() *int
func (*UnauthorizedErrors) GetMessage ¶ added in v0.29.0
func (u *UnauthorizedErrors) GetMessage() *string
func (*UnauthorizedErrors) GetStatus ¶ added in v0.29.0
func (u *UnauthorizedErrors) GetStatus() *int
Click to show internal directories.
Click to hide internal directories.