errors

package
v0.6.33 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NetworkErrorMessage = "possible internet connection problem"

Functions

func MakeErrorMessage

func MakeErrorMessage(message string) string

func WrapAndTrace

func WrapAndTrace(err error, messages ...string) error

Types

type ActiveOrgFileNotFound

type ActiveOrgFileNotFound struct{}

func (*ActiveOrgFileNotFound) Directive

func (e *ActiveOrgFileNotFound) Directive() string

func (*ActiveOrgFileNotFound) Error

func (e *ActiveOrgFileNotFound) Error() string

type BrevError

type BrevError interface {
	// Error returns a user-facing string explaining the error
	Error() string

	// Directive returns a user-facing string explaining how to overcome the error
	Directive() string
}

type CotterClientError

type CotterClientError struct{}

func (*CotterClientError) Directive

func (e *CotterClientError) Directive() string

func (*CotterClientError) Error

func (e *CotterClientError) Error() string

type CotterServerError

type CotterServerError struct{}

func (*CotterServerError) Directive

func (e *CotterServerError) Directive() string

func (*CotterServerError) Error

func (e *CotterServerError) Error() string

type CredentialsFileNotFound

type CredentialsFileNotFound struct{}

func (*CredentialsFileNotFound) Directive

func (e *CredentialsFileNotFound) Directive() string

func (*CredentialsFileNotFound) Error

func (e *CredentialsFileNotFound) Error() string

type DeclineToLoginError

type DeclineToLoginError struct{}

func (*DeclineToLoginError) Directive

func (d *DeclineToLoginError) Directive() string

func (*DeclineToLoginError) Error

func (d *DeclineToLoginError) Error() string

type InitExistingEndpointsFile

type InitExistingEndpointsFile struct{}

func (*InitExistingEndpointsFile) Directive

func (e *InitExistingEndpointsFile) Directive() string

func (*InitExistingEndpointsFile) Error

func (e *InitExistingEndpointsFile) Error() string

type InitExistingProjectFile

type InitExistingProjectFile struct{}

func (*InitExistingProjectFile) Directive

func (e *InitExistingProjectFile) Directive() string

func (*InitExistingProjectFile) Error

func (e *InitExistingProjectFile) Error() string

type InvalidOrganizationError

type InvalidOrganizationError struct{}

func (*InvalidOrganizationError) Directive

func (e *InvalidOrganizationError) Directive() string

func (*InvalidOrganizationError) Error

func (e *InvalidOrganizationError) Error() string

type LocalEndpointFileNotFound

type LocalEndpointFileNotFound struct{}

func (*LocalEndpointFileNotFound) Directive

func (e *LocalEndpointFileNotFound) Directive() string

func (*LocalEndpointFileNotFound) Error

func (e *LocalEndpointFileNotFound) Error() string

type LocalProjectFileNotFound

type LocalProjectFileNotFound struct{}

func (*LocalProjectFileNotFound) Directive

func (e *LocalProjectFileNotFound) Directive() string

func (*LocalProjectFileNotFound) Error

func (e *LocalProjectFileNotFound) Error() string

type SuppressedError

type SuppressedError struct{}

func (*SuppressedError) Directive

func (e *SuppressedError) Directive() string

func (*SuppressedError) Error

func (e *SuppressedError) Error() string

Jump to

Keyboard shortcuts

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