error

package
v0.0.0-...-baadd90 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package error provides custom sdk error

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSDKError

func NewSDKError(code int, message, requestId string) error

Types

type SDKError

type SDKError struct {
	Code      int
	Message   string
	RequestId string
}

func (*SDKError) Error

func (e *SDKError) Error() string

func (*SDKError) GetCode

func (e *SDKError) GetCode() int

func (*SDKError) GetMessage

func (e *SDKError) GetMessage() string

func (*SDKError) GetRequestId

func (e *SDKError) GetRequestId() string

Jump to

Keyboard shortcuts

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