Documentation ¶
Index ¶
- type PelicanError
- func NewAuthorizationError(err error) *PelicanError
- func NewContactError(err error) *PelicanError
- func NewContact_CacheError(err error) *PelicanError
- func NewContact_DirectorError(err error) *PelicanError
- func NewContact_OriginError(err error) *PelicanError
- func NewContact_RegistryError(err error) *PelicanError
- func NewParameterError(err error) *PelicanError
- func NewResolutionError(err error) *PelicanError
- func NewSpecificationError(err error) *PelicanError
- func NewSpecification_FileNotCreatedError(err error) *PelicanError
- func NewSpecification_FileNotFoundError(err error) *PelicanError
- func NewTransferError(err error) *PelicanError
- func NewTransfer_SlowTransferError(err error) *PelicanError
- func NewTransfer_StoppedTransferError(err error) *PelicanError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PelicanError ¶
type PelicanError struct {
// contains filtered or unexported fields
}
func NewAuthorizationError ¶
func NewAuthorizationError(err error) *PelicanError
func NewContactError ¶
func NewContactError(err error) *PelicanError
func NewContact_CacheError ¶
func NewContact_CacheError(err error) *PelicanError
func NewContact_DirectorError ¶
func NewContact_DirectorError(err error) *PelicanError
func NewContact_OriginError ¶
func NewContact_OriginError(err error) *PelicanError
func NewContact_RegistryError ¶
func NewContact_RegistryError(err error) *PelicanError
func NewParameterError ¶
func NewParameterError(err error) *PelicanError
func NewResolutionError ¶
func NewResolutionError(err error) *PelicanError
func NewSpecificationError ¶
func NewSpecificationError(err error) *PelicanError
func NewSpecification_FileNotCreatedError ¶
func NewSpecification_FileNotCreatedError(err error) *PelicanError
func NewSpecification_FileNotFoundError ¶
func NewSpecification_FileNotFoundError(err error) *PelicanError
func NewTransferError ¶
func NewTransferError(err error) *PelicanError
func NewTransfer_SlowTransferError ¶
func NewTransfer_SlowTransferError(err error) *PelicanError
func NewTransfer_StoppedTransferError ¶
func NewTransfer_StoppedTransferError(err error) *PelicanError
func (*PelicanError) Error ¶
func (e *PelicanError) Error() string
function that takes in a PelicanError object and returns it in a string formatted message
func (*PelicanError) ExitCode ¶
func (e *PelicanError) ExitCode() int
function that maps the error to the exit code
func (*PelicanError) Unwrap ¶
func (e *PelicanError) Unwrap() error
This function takes in a PelicanError unwraps any inner errors wrapped inside of it
func (*PelicanError) Wrap ¶
func (e *PelicanError) Wrap(err error) *PelicanError
This function takes in an existing error and wraps it into a PelicanError object
Click to show internal directories.
Click to hide internal directories.