Documentation
¶
Index ¶
Constants ¶
View Source
const ( ExitSuccess = 0 ExitError = 1 ExitAuth = 2 ExitNotFound = 3 ExitValidation = 4 )
Variables ¶
This section is empty.
Functions ¶
func MergeJSONForm ¶ added in v0.3.0
Types ¶
type ZohoAPIError ¶
type ZohoAPIError struct {
ZohoCliError
StatusCode int
}
func NewAPIError ¶
func NewAPIError(statusCode int, body string) *ZohoAPIError
type ZohoCliError ¶
func NewAuthError ¶
func NewAuthError(msg string) *ZohoCliError
func NewError ¶
func NewError(msg string) *ZohoCliError
func NewNotFoundError ¶
func NewNotFoundError(msg string) *ZohoCliError
func NewValidationError ¶
func NewValidationError(msg string) *ZohoCliError
func (*ZohoCliError) Error ¶
func (e *ZohoCliError) Error() string
Click to show internal directories.
Click to hide internal directories.