Module err

Source
Expand description

error handling utilities

Modules§

parse_errors
Error subtypes for ToASTErrorKind

Structs§

ExpectedTokenConfig
Defines configurable rules for how tokens in an UnrecognizedToken or UnrecognizedEof error should be displayed to users.
ParseErrors
Represents one or more ParseErrors encountered when parsing a policy or template.
ToASTError
Error from the CST -> AST transform
ToCSTError
Error from the text -> CST parser

Enums§

LiteralParseError
Errors possible from Literal::from_str()
ParseError
Errors that can occur when parsing Cedar policies or expressions.
ToASTErrorKind
Details about a particular kind of ToASTError.

Functions§

expected_to_string
Format lalrpop expected error messages