errors

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 4 Imported by: 2 modules, 1 package

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 advancedbilling This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewComponentAllocationError

func NewComponentAllocationError(apiError https.ApiError) error

NewComponentAllocationError is a constructor for ComponentAllocationError. It creates and returns a pointer to a new ComponentAllocationError instance with the given statusCode and body.

func NewComponentPricePointError

func NewComponentPricePointError(apiError https.ApiError) error

NewComponentPricePointError is a constructor for ComponentPricePointError. It creates and returns a pointer to a new ComponentPricePointError instance with the given statusCode and body.

func NewCustomerErrorResponse

func NewCustomerErrorResponse(apiError https.ApiError) error

NewCustomerErrorResponse is a constructor for CustomerErrorResponse. It creates and returns a pointer to a new CustomerErrorResponse instance with the given statusCode and body.

func NewErrorArrayMapResponse

func NewErrorArrayMapResponse(apiError https.ApiError) error

NewErrorArrayMapResponse is a constructor for ErrorArrayMapResponse. It creates and returns a pointer to a new ErrorArrayMapResponse instance with the given statusCode and body.

func NewErrorListResponse

func NewErrorListResponse(apiError https.ApiError) error

NewErrorListResponse is a constructor for ErrorListResponse. It creates and returns a pointer to a new ErrorListResponse instance with the given statusCode and body.

func NewErrorStringMapResponse

func NewErrorStringMapResponse(apiError https.ApiError) error

NewErrorStringMapResponse is a constructor for ErrorStringMapResponse. It creates and returns a pointer to a new ErrorStringMapResponse instance with the given statusCode and body.

func NewEventBasedBillingListSegmentsErrors

func NewEventBasedBillingListSegmentsErrors(apiError https.ApiError) error

NewEventBasedBillingListSegmentsErrors is a constructor for EventBasedBillingListSegmentsErrors. It creates and returns a pointer to a new EventBasedBillingListSegmentsErrors instance with the given statusCode and body.

func NewEventBasedBillingSegment

func NewEventBasedBillingSegment(apiError https.ApiError) error

NewEventBasedBillingSegment is a constructor for EventBasedBillingSegment. It creates and returns a pointer to a new EventBasedBillingSegment instance with the given statusCode and body.

func NewEventBasedBillingSegmentErrors

func NewEventBasedBillingSegmentErrors(apiError https.ApiError) error

NewEventBasedBillingSegmentErrors is a constructor for EventBasedBillingSegmentErrors. It creates and returns a pointer to a new EventBasedBillingSegmentErrors instance with the given statusCode and body.

func NewProductPricePointErrorResponse

func NewProductPricePointErrorResponse(apiError https.ApiError) error

NewProductPricePointErrorResponse is a constructor for ProductPricePointErrorResponse. It creates and returns a pointer to a new ProductPricePointErrorResponse instance with the given statusCode and body.

func NewProformaBadRequestErrorResponse

func NewProformaBadRequestErrorResponse(apiError https.ApiError) error

NewProformaBadRequestErrorResponse is a constructor for ProformaBadRequestErrorResponse. It creates and returns a pointer to a new ProformaBadRequestErrorResponse instance with the given statusCode and body.

func NewRefundPrepaymentBaseErrorsResponse

func NewRefundPrepaymentBaseErrorsResponse(apiError https.ApiError) error

NewRefundPrepaymentBaseErrorsResponse is a constructor for RefundPrepaymentBaseErrorsResponse. It creates and returns a pointer to a new RefundPrepaymentBaseErrorsResponse instance with the given statusCode and body.

func NewSingleErrorResponse

func NewSingleErrorResponse(apiError https.ApiError) error

NewSingleErrorResponse is a constructor for SingleErrorResponse. It creates and returns a pointer to a new SingleErrorResponse instance with the given statusCode and body.

func NewSingleStringErrorResponse

func NewSingleStringErrorResponse(apiError https.ApiError) error

NewSingleStringErrorResponse is a constructor for SingleStringErrorResponse. It creates and returns a pointer to a new SingleStringErrorResponse instance with the given statusCode and body.

func NewSubscriptionAddCouponError

func NewSubscriptionAddCouponError(apiError https.ApiError) error

NewSubscriptionAddCouponError is a constructor for SubscriptionAddCouponError. It creates and returns a pointer to a new SubscriptionAddCouponError instance with the given statusCode and body.

func NewSubscriptionComponentAllocationError

func NewSubscriptionComponentAllocationError(apiError https.ApiError) error

NewSubscriptionComponentAllocationError is a constructor for SubscriptionComponentAllocationError. It creates and returns a pointer to a new SubscriptionComponentAllocationError instance with the given statusCode and body.

func NewSubscriptionGroupCreateErrorResponse added in v0.1.0

func NewSubscriptionGroupCreateErrorResponse(apiError https.ApiError) error

NewSubscriptionGroupCreateErrorResponse is a constructor for SubscriptionGroupCreateErrorResponse. It creates and returns a pointer to a new SubscriptionGroupCreateErrorResponse instance with the given statusCode and body.

func NewSubscriptionGroupSignupErrorResponse

func NewSubscriptionGroupSignupErrorResponse(apiError https.ApiError) error

NewSubscriptionGroupSignupErrorResponse is a constructor for SubscriptionGroupSignupErrorResponse. It creates and returns a pointer to a new SubscriptionGroupSignupErrorResponse instance with the given statusCode and body.

func NewSubscriptionGroupUpdateErrorResponse

func NewSubscriptionGroupUpdateErrorResponse(apiError https.ApiError) error

NewSubscriptionGroupUpdateErrorResponse is a constructor for SubscriptionGroupUpdateErrorResponse. It creates and returns a pointer to a new SubscriptionGroupUpdateErrorResponse instance with the given statusCode and body.

func NewSubscriptionRemoveCouponErrors

func NewSubscriptionRemoveCouponErrors(apiError https.ApiError) error

NewSubscriptionRemoveCouponErrors is a constructor for SubscriptionRemoveCouponErrors. It creates and returns a pointer to a new SubscriptionRemoveCouponErrors instance with the given statusCode and body.

func NewSubscriptionResponseError added in v0.5.0

func NewSubscriptionResponseError(apiError https.ApiError) error

NewSubscriptionResponseError is a constructor for SubscriptionResponseError. It creates and returns a pointer to a new SubscriptionResponseError instance with the given statusCode and body.

func NewSubscriptionsMrrErrorResponse

func NewSubscriptionsMrrErrorResponse(apiError https.ApiError) error

NewSubscriptionsMrrErrorResponse is a constructor for SubscriptionsMrrErrorResponse. It creates and returns a pointer to a new SubscriptionsMrrErrorResponse instance with the given statusCode and body.

func NewTooManyManagementLinkRequestsError

func NewTooManyManagementLinkRequestsError(apiError https.ApiError) error

NewTooManyManagementLinkRequestsError is a constructor for TooManyManagementLinkRequestsError. It creates and returns a pointer to a new TooManyManagementLinkRequestsError instance with the given statusCode and body.

Types

type ComponentAllocationError

type ComponentAllocationError struct {
	https.ApiError
	Errors []models.ComponentAllocationErrorItem `json:"errors,omitempty"`
}

ComponentAllocationError is a custom error.

func (ComponentAllocationError) Error

func (c ComponentAllocationError) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for ComponentAllocationError.

func (ComponentAllocationError) String added in v0.6.0

func (c ComponentAllocationError) String() string

String implements the fmt.Stringer interface for ComponentAllocationError, providing a human-readable string representation useful for logging, debugging or displaying information.

type ComponentPricePointError

type ComponentPricePointError struct {
	https.ApiError
	Errors []models.ComponentPricePointErrorItem `json:"errors,omitempty"`
}

ComponentPricePointError is a custom error.

func (ComponentPricePointError) Error

func (c ComponentPricePointError) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for ComponentPricePointError.

func (ComponentPricePointError) String added in v0.6.0

func (c ComponentPricePointError) String() string

String implements the fmt.Stringer interface for ComponentPricePointError, providing a human-readable string representation useful for logging, debugging or displaying information.

type CustomerErrorResponse

type CustomerErrorResponse struct {
	https.ApiError
	Errors *models.CustomerErrorResponseErrors `json:"errors,omitempty"`
}

CustomerErrorResponse is a custom error.

func (CustomerErrorResponse) Error

func (c CustomerErrorResponse) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for CustomerErrorResponse.

func (CustomerErrorResponse) String added in v0.6.0

func (c CustomerErrorResponse) String() string

String implements the fmt.Stringer interface for CustomerErrorResponse, providing a human-readable string representation useful for logging, debugging or displaying information.

type ErrorArrayMapResponse

type ErrorArrayMapResponse struct {
	https.ApiError
	Errors map[string]interface{} `json:"errors,omitempty"`
}

ErrorArrayMapResponse is a custom error.

func (ErrorArrayMapResponse) Error

func (e ErrorArrayMapResponse) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for ErrorArrayMapResponse.

func (ErrorArrayMapResponse) String added in v0.6.0

func (e ErrorArrayMapResponse) String() string

String implements the fmt.Stringer interface for ErrorArrayMapResponse, providing a human-readable string representation useful for logging, debugging or displaying information.

type ErrorListResponse

type ErrorListResponse struct {
	https.ApiError
	Errors []string `json:"errors"`
}

ErrorListResponse is a custom error. Error which contains list of messages.

func (ErrorListResponse) Error

func (e ErrorListResponse) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for ErrorListResponse.

func (ErrorListResponse) String added in v0.6.0

func (e ErrorListResponse) String() string

String implements the fmt.Stringer interface for ErrorListResponse, providing a human-readable string representation useful for logging, debugging or displaying information.

type ErrorStringMapResponse

type ErrorStringMapResponse struct {
	https.ApiError
	Errors map[string]string `json:"errors,omitempty"`
}

ErrorStringMapResponse is a custom error.

func (ErrorStringMapResponse) Error

func (e ErrorStringMapResponse) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for ErrorStringMapResponse.

func (ErrorStringMapResponse) String added in v0.6.0

func (e ErrorStringMapResponse) String() string

String implements the fmt.Stringer interface for ErrorStringMapResponse, providing a human-readable string representation useful for logging, debugging or displaying information.

type EventBasedBillingListSegmentsErrors

type EventBasedBillingListSegmentsErrors struct {
	https.ApiError
	Errors *models.Errors `json:"errors,omitempty"`
}

EventBasedBillingListSegmentsErrors is a custom error.

func (EventBasedBillingListSegmentsErrors) Error

Error implements the Error method for the error interface. It returns a formatted error message for EventBasedBillingListSegmentsErrors.

func (EventBasedBillingListSegmentsErrors) String added in v0.6.0

String implements the fmt.Stringer interface for EventBasedBillingListSegmentsErrors, providing a human-readable string representation useful for logging, debugging or displaying information.

type EventBasedBillingSegment

type EventBasedBillingSegment struct {
	https.ApiError
	Errors models.EventBasedBillingSegmentError `json:"errors"`
}

EventBasedBillingSegment is a custom error.

func (EventBasedBillingSegment) Error

func (e EventBasedBillingSegment) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for EventBasedBillingSegment.

func (EventBasedBillingSegment) String added in v0.6.0

func (e EventBasedBillingSegment) String() string

String implements the fmt.Stringer interface for EventBasedBillingSegment, providing a human-readable string representation useful for logging, debugging or displaying information.

type EventBasedBillingSegmentErrors

type EventBasedBillingSegmentErrors struct {
	https.ApiError
	Errors map[string]interface{} `json:"errors,omitempty"`
}

EventBasedBillingSegmentErrors is a custom error.

func (EventBasedBillingSegmentErrors) Error

Error implements the Error method for the error interface. It returns a formatted error message for EventBasedBillingSegmentErrors.

func (EventBasedBillingSegmentErrors) String added in v0.6.0

String implements the fmt.Stringer interface for EventBasedBillingSegmentErrors, providing a human-readable string representation useful for logging, debugging or displaying information.

type ProductPricePointErrorResponse

type ProductPricePointErrorResponse struct {
	https.ApiError
	Errors models.ProductPricePointErrors `json:"errors"`
}

ProductPricePointErrorResponse is a custom error.

func (ProductPricePointErrorResponse) Error

Error implements the Error method for the error interface. It returns a formatted error message for ProductPricePointErrorResponse.

func (ProductPricePointErrorResponse) String added in v0.6.0

String implements the fmt.Stringer interface for ProductPricePointErrorResponse, providing a human-readable string representation useful for logging, debugging or displaying information.

type ProformaBadRequestErrorResponse

type ProformaBadRequestErrorResponse struct {
	https.ApiError
	Errors *models.ProformaError `json:"errors,omitempty"`
}

ProformaBadRequestErrorResponse is a custom error.

func (ProformaBadRequestErrorResponse) Error

Error implements the Error method for the error interface. It returns a formatted error message for ProformaBadRequestErrorResponse.

func (ProformaBadRequestErrorResponse) String added in v0.6.0

String implements the fmt.Stringer interface for ProformaBadRequestErrorResponse, providing a human-readable string representation useful for logging, debugging or displaying information.

type RefundPrepaymentBaseErrorsResponse

type RefundPrepaymentBaseErrorsResponse struct {
	https.ApiError
	Errors *models.RefundPrepaymentBaseRefundError `json:"errors,omitempty"`
}

RefundPrepaymentBaseErrorsResponse is a custom error. Errors returned on creating a refund prepayment when bad request

func (RefundPrepaymentBaseErrorsResponse) Error

Error implements the Error method for the error interface. It returns a formatted error message for RefundPrepaymentBaseErrorsResponse.

func (RefundPrepaymentBaseErrorsResponse) String added in v0.6.0

String implements the fmt.Stringer interface for RefundPrepaymentBaseErrorsResponse, providing a human-readable string representation useful for logging, debugging or displaying information.

type SingleErrorResponse

type SingleErrorResponse struct {
	https.ApiError
	MError string `json:"error"`
}

SingleErrorResponse is a custom error.

func (SingleErrorResponse) Error

func (s SingleErrorResponse) Error() string

Error implements the Error method for the error interface. It returns a formatted error message for SingleErrorResponse.

func (SingleErrorResponse) String added in v0.6.0

func (s SingleErrorResponse) String() string

String implements the fmt.Stringer interface for SingleErrorResponse, providing a human-readable string representation useful for logging, debugging or displaying information.

type SingleStringErrorResponse

type SingleStringErrorResponse struct {
	https.ApiError
	Errors *string `json:"errors,omitempty"`
}

SingleStringErrorResponse is a custom error.

func (SingleStringErrorResponse) Error

Error implements the Error method for the error interface. It returns a formatted error message for SingleStringErrorResponse.

func (SingleStringErrorResponse) String added in v0.6.0

func (s SingleStringErrorResponse) String() string

String implements the fmt.Stringer interface for SingleStringErrorResponse, providing a human-readable string representation useful for logging, debugging or displaying information.

type SubscriptionAddCouponError

type SubscriptionAddCouponError struct {
	https.ApiError
	Codes        []string `json:"codes,omitempty"`
	CouponCode   []string `json:"coupon_code,omitempty"`
	CouponCodes  []string `json:"coupon_codes,omitempty"`
	Subscription []string `json:"subscription,omitempty"`
}

SubscriptionAddCouponError is a custom error.

func (SubscriptionAddCouponError) Error

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionAddCouponError.

func (SubscriptionAddCouponError) String added in v0.6.0

String implements the fmt.Stringer interface for SubscriptionAddCouponError, providing a human-readable string representation useful for logging, debugging or displaying information.

type SubscriptionComponentAllocationError

type SubscriptionComponentAllocationError struct {
	https.ApiError
	Errors []models.SubscriptionComponentAllocationErrorItem `json:"errors,omitempty"`
}

SubscriptionComponentAllocationError is a custom error.

func (SubscriptionComponentAllocationError) Error

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionComponentAllocationError.

func (SubscriptionComponentAllocationError) String added in v0.6.0

String implements the fmt.Stringer interface for SubscriptionComponentAllocationError, providing a human-readable string representation useful for logging, debugging or displaying information.

type SubscriptionGroupCreateErrorResponse added in v0.1.0

type SubscriptionGroupCreateErrorResponse struct {
	https.ApiError
	Errors models.SubscriptionGroupCreateErrorResponseErrors `json:"errors"`
}

SubscriptionGroupCreateErrorResponse is a custom error.

func (SubscriptionGroupCreateErrorResponse) Error added in v0.1.0

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionGroupCreateErrorResponse.

func (SubscriptionGroupCreateErrorResponse) String added in v0.6.0

String implements the fmt.Stringer interface for SubscriptionGroupCreateErrorResponse, providing a human-readable string representation useful for logging, debugging or displaying information.

type SubscriptionGroupSignupErrorResponse

type SubscriptionGroupSignupErrorResponse struct {
	https.ApiError
	Errors models.SubscriptionGroupSignupError `json:"errors"`
}

SubscriptionGroupSignupErrorResponse is a custom error.

func (SubscriptionGroupSignupErrorResponse) Error

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionGroupSignupErrorResponse.

func (SubscriptionGroupSignupErrorResponse) String added in v0.6.0

String implements the fmt.Stringer interface for SubscriptionGroupSignupErrorResponse, providing a human-readable string representation useful for logging, debugging or displaying information.

type SubscriptionGroupUpdateErrorResponse

type SubscriptionGroupUpdateErrorResponse struct {
	https.ApiError
	Errors *models.SubscriptionGroupUpdateError `json:"errors,omitempty"`
}

SubscriptionGroupUpdateErrorResponse is a custom error.

func (SubscriptionGroupUpdateErrorResponse) Error

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionGroupUpdateErrorResponse.

func (SubscriptionGroupUpdateErrorResponse) String added in v0.6.0

String implements the fmt.Stringer interface for SubscriptionGroupUpdateErrorResponse, providing a human-readable string representation useful for logging, debugging or displaying information.

type SubscriptionRemoveCouponErrors

type SubscriptionRemoveCouponErrors struct {
	https.ApiError
	Subscription []string `json:"subscription"`
}

SubscriptionRemoveCouponErrors is a custom error.

func (SubscriptionRemoveCouponErrors) Error

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionRemoveCouponErrors.

func (SubscriptionRemoveCouponErrors) String added in v0.6.0

String implements the fmt.Stringer interface for SubscriptionRemoveCouponErrors, providing a human-readable string representation useful for logging, debugging or displaying information.

type SubscriptionResponseError added in v0.5.0

type SubscriptionResponseError struct {
	https.ApiError
	Subscription *models.Subscription `json:"subscription,omitempty"`
}

SubscriptionResponseError is a custom error.

func (SubscriptionResponseError) Error added in v0.5.0

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionResponseError.

func (SubscriptionResponseError) String added in v0.6.0

func (s SubscriptionResponseError) String() string

String implements the fmt.Stringer interface for SubscriptionResponseError, providing a human-readable string representation useful for logging, debugging or displaying information.

type SubscriptionsMrrErrorResponse

type SubscriptionsMrrErrorResponse struct {
	https.ApiError
	Errors models.AttributeError `json:"errors"`
}

SubscriptionsMrrErrorResponse is a custom error.

func (SubscriptionsMrrErrorResponse) Error

Error implements the Error method for the error interface. It returns a formatted error message for SubscriptionsMrrErrorResponse.

func (SubscriptionsMrrErrorResponse) String added in v0.6.0

String implements the fmt.Stringer interface for SubscriptionsMrrErrorResponse, providing a human-readable string representation useful for logging, debugging or displaying information.

type TooManyManagementLinkRequestsError

type TooManyManagementLinkRequestsError struct {
	https.ApiError
	Errors models.TooManyManagementLinkRequests `json:"errors"`
}

TooManyManagementLinkRequestsError is a custom error.

func (TooManyManagementLinkRequestsError) Error

Error implements the Error method for the error interface. It returns a formatted error message for TooManyManagementLinkRequestsError.

func (TooManyManagementLinkRequestsError) String added in v0.6.0

String implements the fmt.Stringer interface for TooManyManagementLinkRequestsError, 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