internal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitSuccess    = 0
	ExitError      = 1
	ExitAuth       = 2
	ExitNotFound   = 3
	ExitValidation = 4
)

Variables

This section is empty.

Functions

func Die

func Die(err error)

func Err

func Err(msg string)

Types

type ZohoAPIError

type ZohoAPIError struct {
	ZohoCliError
	StatusCode int
}

func NewAPIError

func NewAPIError(statusCode int, body string) *ZohoAPIError

type ZohoCliError

type ZohoCliError struct {
	Message  string
	ExitCode int
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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