sveltinerr

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package sveltinerr ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContentTemplateTypeNotValidError

func NewContentTemplateTypeNotValidError() error

NewContentTemplateTypeNotValidError ...

func NewDefaultError

func NewDefaultError(err error) error

NewDefaultError ...

func NewDirInsteadOfFileError

func NewDirInsteadOfFileError() error

NewDirInsteadOfFileError ...

func NewDirNotFoundError

func NewDirNotFoundError() error

NewDirNotFoundError ...

func NewExecSystemCommandError

func NewExecSystemCommandError(cmdName, opts string) error

NewExecSystemCommandError ...

func NewExecSystemCommandErrorWithMsg

func NewExecSystemCommandErrorWithMsg(err error) error

NewExecSystemCommandErrorWithMsg ...

func NewExistingDirectoryError

func NewExistingDirectoryError() error

NewExistingDirectoryError ...

func NewFileNotFoundError

func NewFileNotFoundError() error

NewFileNotFoundError ...

func NewMetadataTypeNotValidError

func NewMetadataTypeNotValidError() error

NewMetadataTypeNotValidError ...

func NewMoveFileError

func NewMoveFileError(sourceFile, saveTo string) error

NewMoveFileError ...

func NewNPMClientCommandError

func NewNPMClientCommandError(err error) error

NewNPMClientCommandError ...

func NewNPMClientCommandNotValidError

func NewNPMClientCommandNotValidError() error

NewNPMClientCommandNotValidError ...

func NewNPMClientNotFoundError

func NewNPMClientNotFoundError(err error) error

NewNPMClientNotFoundError ...

func NewNotEmptyProjectError

func NewNotEmptyProjectError(pathToFile string) error

NewNotEmptyProjectError ...

func NewNotImplementYetError

func NewNotImplementYetError() error

NewNotImplementYetError ...

func NewNotValidArgumentsError

func NewNotValidArgumentsError() error

NewNotValidArgumentsError ...

func NewNotValidGitHubRepoURL

func NewNotValidGitHubRepoURL(input string) error

NewNotValidGitHubRepoURL ...

func NewNotValidGitHubURL

func NewNotValidGitHubURL(input string) error

NewNotValidGitHubURL ...

func NewNotValidProjectError

func NewNotValidProjectError(pathToFile string) error

NewNotValidProjectError ...

func NewNotValidURL

func NewNotValidURL(input string) error

NewNotValidURL ...

func NewNumOfArgsNotValidError

func NewNumOfArgsNotValidError() error

NewNumOfArgsNotValidError ...

func NewNumOfArgsNotValidErrorWithMessage

func NewNumOfArgsNotValidErrorWithMessage(err error) error

NewNumOfArgsNotValidErrorWithMessage ...

func NewOptionNotValidError

func NewOptionNotValidError(value string, options []string) error

NewOptionNotValidError ...

func NewPackageManagerKeyNotFoundOnPackageJSONFile

func NewPackageManagerKeyNotFoundOnPackageJSONFile() error

NewPackageManagerKeyNotFoundOnPackageJSONFile ...

func NewPageTypeNotValidError

func NewPageTypeNotValidError() error

NewPageTypeNotValidError ...

func NewProjectNameNotFoundError

func NewProjectNameNotFoundError() error

NewProjectNameNotFoundError ...

func NewResourceNotFoundError

func NewResourceNotFoundError() error

NewResourceNotFoundError ...

Types

type ErrorType

type ErrorType int8

ErrorType represents a specific error.

type SveltinError

type SveltinError struct {
	Code    ErrorType
	Name    string
	Title   string
	Message string
	Err     error
}

SveltinError is the struct representing the way Sveltin handles errors.

func (*SveltinError) Error

func (e *SveltinError) Error() string

Jump to

Keyboard shortcuts

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