errors

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// The unknown
	ErrUnknown = "UNKNOWN"

	// The internal error
	ErrInternal = "INTERNAL"

	// The unexpected end.
	ErrUnexpectedEnd = "UNEXPECTED_END"

	// The error near
	ErrErrorNear = "ERROR_NEAR"

	// The error at
	ErrErrorAt = "ERROR_AT"

	// The unknown symbol
	ErrUnknownSymbol = "UNKNOWN_SYMBOL"

	// The missed close parenthesis
	ErrMissedCloseParenthesis = "MISSED_CLOSE_PARENTHESIS"

	// The missed close square bracket
	ErrMissedCloseSquareBracket = "MISSED_CLOSE_SQUARE_BRACKET"
)

General syntax errors.

Variables

This section is empty.

Functions

func NewExpressionError

func NewExpressionError(correlationId, code, message string, line, column int) *cerrors.ApplicationError

Exception that can be thrown by Expression Calculator.

func NewSyntaxError

func NewSyntaxError(correlationId, code, message string, line, column int) *cerrors.ApplicationError

Exception that can be thrown by Expression Parser.

Types

This section is empty.

Jump to

Keyboard shortcuts

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