Documentation
¶
Overview ¶
package splititwebapiv4 This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApiErrorResponse ¶
NewApiErrorResponse is a constructor for ApiErrorResponse. It creates and returns a pointer to a new ApiErrorResponse instance with the given statusCode and body.
func NewOAuthProvider ¶
NewOAuthProvider is a constructor for OAuthProvider. It creates and returns a pointer to a new OAuthProvider instance with the given statusCode and body.
Types ¶
type ApiErrorResponse ¶
type ApiErrorResponse struct {
https.ApiError
TraceId *string `json:"TraceId,omitempty"`
MError *models.ApiErrorModel `json:"Error,omitempty"`
}
ApiErrorResponse is a custom error.
func (ApiErrorResponse) Error ¶
func (a ApiErrorResponse) Error() string
Error implements the Error method for the error interface. It returns a formatted error message for ApiErrorResponse.
func (ApiErrorResponse) String ¶
func (a ApiErrorResponse) String() string
String implements the fmt.Stringer interface for ApiErrorResponse, providing a human-readable string representation useful for logging, debugging or displaying information.
type OAuthProvider ¶
type OAuthProvider struct {
https.ApiError
MError models.OAuthProviderErrorEnum `json:"error"`
ErrorDescription *string `json:"error_description,omitempty"`
ErrorUri *string `json:"error_uri,omitempty"`
}
OAuthProvider is a custom error. OAuth 2 Authorization endpoint exception.
func (OAuthProvider) Error ¶
func (o OAuthProvider) Error() string
Error implements the Error method for the error interface. It returns a formatted error message for OAuthProvider.
func (OAuthProvider) String ¶
func (o OAuthProvider) String() string
String implements the fmt.Stringer interface for OAuthProvider, providing a human-readable string representation useful for logging, debugging or displaying information.