errors

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuplicateClassAliasError

type DuplicateClassAliasError struct {
	// contains filtered or unexported fields
}

func NewDuplicateClassAliasError

func NewDuplicateClassAliasError(name string, cls reflect.Type, existing reflect.Type) *DuplicateClassAliasError

func (*DuplicateClassAliasError) Error

func (e *DuplicateClassAliasError) Error() string

type DuplicateInstanceRegistrationError

type DuplicateInstanceRegistrationError struct {
	// contains filtered or unexported fields
}

func NewDuplicateInstanceRegistrationError

func NewDuplicateInstanceRegistrationError(id uint64) *DuplicateInstanceRegistrationError

func (*DuplicateInstanceRegistrationError) Error

type ErrorWithAdditionalInfo

type ErrorWithAdditionalInfo struct {
	Inner error
	Info  string
}

func (*ErrorWithAdditionalInfo) Error

func (e *ErrorWithAdditionalInfo) Error() string

type FormattedPolarError

type FormattedPolarError struct {
	// Kind
	Kind types.ErrorKind `json:"kind"`
	// Formatted
	Formatted string `json:"formatted"`
}

FormattedPolarError struct

func (*FormattedPolarError) Error

func (e *FormattedPolarError) Error() string

type InlineQueryFailedError

type InlineQueryFailedError struct {
	// contains filtered or unexported fields
}

func NewInlineQueryFailedError

func NewInlineQueryFailedError(source string) *InlineQueryFailedError

func (*InlineQueryFailedError) Error

func (e *InlineQueryFailedError) Error() string

type InvalidCallError

type InvalidCallError struct {
	// contains filtered or unexported fields
}

func NewInvalidCallError

func NewInvalidCallError(instance interface{}, field string) *InvalidCallError

func (*InvalidCallError) Error

func (e *InvalidCallError) Error() string

type InvalidConstructorError

type InvalidConstructorError struct {
	// contains filtered or unexported fields
}

func NewInvalidConstructorError added in v0.0.5

func NewInvalidConstructorError(ctor types.Value) *InvalidConstructorError

func (*InvalidConstructorError) Error

func (e *InvalidConstructorError) Error() string

type InvalidIteratorError

type InvalidIteratorError struct {
	// contains filtered or unexported fields
}

func NewInvalidIteratorError

func NewInvalidIteratorError(instance interface{}) *InvalidIteratorError

func (*InvalidIteratorError) Error

func (e *InvalidIteratorError) Error() string

type InvalidQueryEventError

type InvalidQueryEventError struct {
	// contains filtered or unexported fields
}

func NewInvalidQueryEventError

func NewInvalidQueryEventError(event string) *InvalidQueryEventError

func (*InvalidQueryEventError) Error

func (e *InvalidQueryEventError) Error() string

type KwargsError

type KwargsError struct {
}

func (*KwargsError) Error

func (e *KwargsError) Error() string

type MissingAttributeError

type MissingAttributeError struct {
	// contains filtered or unexported fields
}

func NewMissingAttributeError

func NewMissingAttributeError(instance interface{}, field string) *MissingAttributeError

func (*MissingAttributeError) Error

func (e *MissingAttributeError) Error() string

type PolarFileExtensionError

type PolarFileExtensionError struct {
	// contains filtered or unexported fields
}

func NewPolarFileExtensionError

func NewPolarFileExtensionError(file string) *PolarFileExtensionError

func (*PolarFileExtensionError) Error

func (e *PolarFileExtensionError) Error() string

type PolarFileNotFoundError

type PolarFileNotFoundError struct {
	// contains filtered or unexported fields
}

func NewPolarFileNotFoundError

func NewPolarFileNotFoundError(file string) *PolarFileNotFoundError

func (*PolarFileNotFoundError) Error

func (e *PolarFileNotFoundError) Error() string

type UnimplementedOperationError

type UnimplementedOperationError struct {
	// contains filtered or unexported fields
}

func NewUnimplementedOperationError

func NewUnimplementedOperationError(operation string) *UnimplementedOperationError

func (*UnimplementedOperationError) Error

type UnregisteredClassError

type UnregisteredClassError struct {
	// contains filtered or unexported fields
}

func NewUnregisteredClassError

func NewUnregisteredClassError(name string) *UnregisteredClassError

func (*UnregisteredClassError) Error

func (e *UnregisteredClassError) Error() string

type UnregisteredInstanceError

type UnregisteredInstanceError struct {
	// contains filtered or unexported fields
}

func NewUnregisteredInstanceError

func NewUnregisteredInstanceError(id uint64) *UnregisteredInstanceError

func (*UnregisteredInstanceError) Error

func (e *UnregisteredInstanceError) Error() string

Jump to

Keyboard shortcuts

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