Documentation
¶
Overview ¶
Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.
Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.
Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.
Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.
Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.
Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.
Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.
Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.
Index ¶
- func ProgramToHuman(v val.Value, indent int) string
- func ValueToHuman(v val.Value) string
- type ArgumentError
- type CodecError
- type CompilationError
- type DatabaseDoesNotExistError
- type DoNotationError
- type Error
- type ErrorList
- type ErrorPath
- type ErrorPathElement
- type ErrorPathElementListElements
- type ErrorPathElementListIndex
- type ErrorPathElementMapElements
- type ErrorPathElementMapKey
- type ErrorPathElementSetElements
- type ErrorPathElementSetItem
- type ErrorPathElementStructField
- type ErrorPathElementTupleIndex
- type ErrorPathElementUnionCase
- type ExecutionError
- type FuncArgPathElement
- type HumanReadableError
- type InputParsingError
- type InternalError
- type ModelNotFoundError
- type ModelParsingError
- func (e ModelParsingError) AppendPath(a ErrorPathElement, b ...ErrorPathElement) PathedError
- func (e ModelParsingError) Child() Error
- func (e ModelParsingError) Error() string
- func (e ModelParsingError) ErrorPath() ErrorPath
- func (e ModelParsingError) String() string
- func (e ModelParsingError) Value() val.Union
- type NamedArgPathElement
- type NumericArgPathElement
- type ObjectNotFoundError
- type OffsetError
- type PathedError
- type PermissionDeniedError
- type RequestError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArgumentError ¶
func LiftArgumentError ¶
func LiftArgumentError(e Error) ArgumentError
func (ArgumentError) AppendPath ¶
func (e ArgumentError) AppendPath(p ErrorPathElement, ps ...ErrorPathElement) PathedError
func (ArgumentError) Child ¶
func (e ArgumentError) Child() Error
func (ArgumentError) Error ¶
func (e ArgumentError) Error() string
func (ArgumentError) ErrorPath ¶
func (e ArgumentError) ErrorPath() ErrorPath
func (ArgumentError) String ¶
func (e ArgumentError) String() string
func (ArgumentError) Value ¶
func (e ArgumentError) Value() val.Union
type CodecError ¶
func (CodecError) Child ¶
func (e CodecError) Child() Error
func (CodecError) Error ¶
func (e CodecError) Error() string
func (CodecError) Offset ¶
func (e CodecError) Offset() int
func (CodecError) SetOffset ¶
func (e CodecError) SetOffset(o int) OffsetError
func (CodecError) String ¶
func (e CodecError) String() string
func (CodecError) Value ¶
func (e CodecError) Value() val.Union
type CompilationError ¶
func (CompilationError) Child ¶
func (e CompilationError) Child() Error
func (CompilationError) Error ¶
func (e CompilationError) Error() string
func (CompilationError) String ¶
func (e CompilationError) String() string
func (CompilationError) Value ¶
func (e CompilationError) Value() val.Union
type DatabaseDoesNotExistError ¶
type DatabaseDoesNotExistError struct {
Name string
}
func (DatabaseDoesNotExistError) Child ¶
func (e DatabaseDoesNotExistError) Child() Error
func (DatabaseDoesNotExistError) Error ¶
func (e DatabaseDoesNotExistError) Error() string
func (DatabaseDoesNotExistError) String ¶
func (e DatabaseDoesNotExistError) String() string
func (DatabaseDoesNotExistError) Value ¶
func (e DatabaseDoesNotExistError) Value() val.Union
type DoNotationError ¶
type DoNotationError struct {
Problem string
}
func (DoNotationError) Child ¶
func (e DoNotationError) Child() Error
func (DoNotationError) Error ¶
func (e DoNotationError) Error() string
func (DoNotationError) String ¶
func (e DoNotationError) String() string
func (DoNotationError) Value ¶
func (e DoNotationError) Value() val.Union
type Error ¶
type ErrorPath ¶
type ErrorPath []ErrorPathElement
type ErrorPathElementListElements ¶
type ErrorPathElementListElements struct{}
func (ErrorPathElementListElements) String ¶
func (l ErrorPathElementListElements) String() string
func (ErrorPathElementListElements) Value ¶
func (l ErrorPathElementListElements) Value() val.Union
type ErrorPathElementListIndex ¶
type ErrorPathElementListIndex int
func (ErrorPathElementListIndex) String ¶
func (l ErrorPathElementListIndex) String() string
func (ErrorPathElementListIndex) Value ¶
func (l ErrorPathElementListIndex) Value() val.Union
type ErrorPathElementMapElements ¶
type ErrorPathElementMapElements struct{}
func (ErrorPathElementMapElements) String ¶
func (l ErrorPathElementMapElements) String() string
func (ErrorPathElementMapElements) Value ¶
func (l ErrorPathElementMapElements) Value() val.Union
type ErrorPathElementMapKey ¶
type ErrorPathElementMapKey string
func (ErrorPathElementMapKey) String ¶
func (l ErrorPathElementMapKey) String() string
func (ErrorPathElementMapKey) Value ¶
func (l ErrorPathElementMapKey) Value() val.Union
type ErrorPathElementSetElements ¶
type ErrorPathElementSetElements struct{}
func (ErrorPathElementSetElements) String ¶
func (l ErrorPathElementSetElements) String() string
func (ErrorPathElementSetElements) Value ¶
func (l ErrorPathElementSetElements) Value() val.Union
type ErrorPathElementSetItem ¶
type ErrorPathElementSetItem struct{}
func (ErrorPathElementSetItem) String ¶
func (l ErrorPathElementSetItem) String() string
func (ErrorPathElementSetItem) Value ¶
func (l ErrorPathElementSetItem) Value() val.Union
type ErrorPathElementStructField ¶
type ErrorPathElementStructField string
func (ErrorPathElementStructField) String ¶
func (l ErrorPathElementStructField) String() string
func (ErrorPathElementStructField) Value ¶
func (l ErrorPathElementStructField) Value() val.Union
type ErrorPathElementTupleIndex ¶
type ErrorPathElementTupleIndex int
func (ErrorPathElementTupleIndex) String ¶
func (l ErrorPathElementTupleIndex) String() string
func (ErrorPathElementTupleIndex) Value ¶
func (l ErrorPathElementTupleIndex) Value() val.Union
type ErrorPathElementUnionCase ¶
type ErrorPathElementUnionCase string
func (ErrorPathElementUnionCase) String ¶
func (l ErrorPathElementUnionCase) String() string
func (ErrorPathElementUnionCase) Value ¶
func (l ErrorPathElementUnionCase) Value() val.Union
type ExecutionError ¶
func (ExecutionError) Child ¶
func (e ExecutionError) Child() Error
func (ExecutionError) Error ¶
func (e ExecutionError) Error() string
func (ExecutionError) String ¶
func (e ExecutionError) String() string
func (ExecutionError) Value ¶
func (e ExecutionError) Value() val.Union
type FuncArgPathElement ¶
type FuncArgPathElement struct { Function string Argument ErrorPathElement }
func NewFuncArgPathElement ¶
func NewFuncArgPathElement(function string, argument interface{}) FuncArgPathElement
func (FuncArgPathElement) String ¶
func (p FuncArgPathElement) String() string
func (FuncArgPathElement) Value ¶
func (p FuncArgPathElement) Value() val.Union
type HumanReadableError ¶
type HumanReadableError struct {
Error_ Error
}
func (HumanReadableError) Child ¶
func (e HumanReadableError) Child() Error
func (HumanReadableError) Error ¶
func (e HumanReadableError) Error() string
func (HumanReadableError) String ¶
func (e HumanReadableError) String() string
func (HumanReadableError) Value ¶
func (e HumanReadableError) Value() val.Union
type InputParsingError ¶
general input parsing errors
func (InputParsingError) Child ¶
func (e InputParsingError) Child() Error
func (InputParsingError) Error ¶
func (e InputParsingError) Error() string
func (InputParsingError) String ¶
func (e InputParsingError) String() string
func (InputParsingError) Value ¶
func (e InputParsingError) Value() val.Union
type InternalError ¶
func (InternalError) Child ¶
func (e InternalError) Child() Error
func (InternalError) Error ¶
func (e InternalError) Error() string
func (InternalError) String ¶
func (e InternalError) String() string
func (InternalError) Value ¶
func (e InternalError) Value() val.Union
type ModelNotFoundError ¶
type ModelNotFoundError struct {
ObjectNotFoundError
}
func (ModelNotFoundError) Error ¶
func (e ModelNotFoundError) Error() string
func (ModelNotFoundError) String ¶
func (e ModelNotFoundError) String() string
func (ModelNotFoundError) Value ¶
func (e ModelNotFoundError) Value() val.Union
type ModelParsingError ¶
func (ModelParsingError) AppendPath ¶
func (e ModelParsingError) AppendPath(a ErrorPathElement, b ...ErrorPathElement) PathedError
func (ModelParsingError) Child ¶
func (e ModelParsingError) Child() Error
func (ModelParsingError) Error ¶
func (e ModelParsingError) Error() string
func (ModelParsingError) ErrorPath ¶
func (e ModelParsingError) ErrorPath() ErrorPath
func (ModelParsingError) String ¶
func (e ModelParsingError) String() string
func (ModelParsingError) Value ¶
func (e ModelParsingError) Value() val.Union
type NamedArgPathElement ¶
type NamedArgPathElement string
func (NamedArgPathElement) String ¶
func (p NamedArgPathElement) String() string
func (NamedArgPathElement) Value ¶
func (p NamedArgPathElement) Value() val.Union
type NumericArgPathElement ¶
type NumericArgPathElement int
func (NumericArgPathElement) String ¶
func (p NumericArgPathElement) String() string
func (NumericArgPathElement) Value ¶
func (p NumericArgPathElement) Value() val.Union
type ObjectNotFoundError ¶
func (ObjectNotFoundError) Child ¶
func (e ObjectNotFoundError) Child() Error
func (ObjectNotFoundError) Error ¶
func (e ObjectNotFoundError) Error() string
func (ObjectNotFoundError) String ¶
func (e ObjectNotFoundError) String() string
func (ObjectNotFoundError) Value ¶
func (e ObjectNotFoundError) Value() val.Union
type OffsetError ¶
type OffsetError interface { Error Offset() int SetOffset(int) OffsetError }
type PathedError ¶
type PathedError interface { Error ErrorPath() ErrorPath AppendPath(ErrorPathElement, ...ErrorPathElement) PathedError }
type PermissionDeniedError ¶
type PermissionDeniedError struct {
Child_ Error
}
func (PermissionDeniedError) Child ¶
func (e PermissionDeniedError) Child() Error
func (PermissionDeniedError) Error ¶
func (e PermissionDeniedError) Error() string
func (PermissionDeniedError) String ¶
func (e PermissionDeniedError) String() string
func (PermissionDeniedError) Value ¶
func (e PermissionDeniedError) Value() val.Union
type RequestError ¶
func (RequestError) Child ¶
func (e RequestError) Child() Error
func (RequestError) Error ¶
func (e RequestError) Error() string
func (RequestError) String ¶
func (e RequestError) String() string
func (RequestError) Value ¶
func (e RequestError) Value() val.Union