errors

package
v2.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 4 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func NewApiErrorResponse(apiError https.ApiError) error

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

func NewOAuthProvider(apiError https.ApiError) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL