impl

package
v0.0.0-...-5c92f2b Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseException

type DatabaseException struct {
	*exception.BaseException
}

func NewDatabaseActionException

func NewDatabaseActionException(err error, msg string, path ast.Path, source *string) *DatabaseException

func NewDatabaseException

func NewDatabaseException(err error, msg string, path ast.Path, source *string) *DatabaseException

func (*DatabaseException) Code

func (dbe *DatabaseException) Code() *code.ErrorCode

func (*DatabaseException) Err

func (dbe *DatabaseException) Err() error

func (*DatabaseException) Error

func (dbe *DatabaseException) Error() string

func (*DatabaseException) GqlError

func (dbe *DatabaseException) GqlError() *gqlerror.Error

func (*DatabaseException) GqlErrorWithTrace

func (dbe *DatabaseException) GqlErrorWithTrace(ctx context.Context) *gqlerror.Error

func (*DatabaseException) Log

func (dbe *DatabaseException) Log(ctx context.Context)

func (*DatabaseException) Msg

func (dbe *DatabaseException) Msg() string

func (*DatabaseException) Path

func (dbe *DatabaseException) Path() ast.Path

func (*DatabaseException) Source

func (dbe *DatabaseException) Source() string

Jump to

Keyboard shortcuts

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