errors

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigError

type ConfigError struct {
	Message string
}

func (*ConfigError) Error

func (e *ConfigError) Error() string

type DataloaderError

type DataloaderError struct {
	Msg string
}

func (*DataloaderError) Error

func (e *DataloaderError) Error() string

func (*DataloaderError) GraphqlError

func (e *DataloaderError) GraphqlError() *GraphQLError

type GraphQLError

type GraphQLError struct {
	Message   string             `json:"message"`
	Locations []*GraphqlLocation `json:"locations,omitempty"`
}

func (*GraphQLError) Error

func (e *GraphQLError) Error() string

func (*GraphQLError) GraphqlError

func (g *GraphQLError) GraphqlError() *GraphQLError

type GraphqlErrorInterface

type GraphqlErrorInterface interface {
	GraphqlError() *GraphQLError
	Error() string
}

type GraphqlLocation

type GraphqlLocation struct {
	Line   int `json:"line"`
	Column int `json:"column"`
}

type LexerError

type LexerError struct {
	Path         *string
	Line         int
	LinePosition int
	Message      string
}

func (*LexerError) Error

func (e *LexerError) Error() string

func (*LexerError) GraphqlError

func (e *LexerError) GraphqlError() *GraphQLError

type ParserError

type ParserError struct {
	Message   string
	Locations *GraphqlLocation
}

func (*ParserError) Error

func (e *ParserError) Error() string

func (*ParserError) GraphqlError

func (e *ParserError) GraphqlError() *GraphQLError

Jump to

Keyboard shortcuts

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