package
1.0.1
Repository: https://github.com/puppetlabs/errawr-gen.git
Documentation: pkg.go.dev

# Functions

IsDocNoVersionError tests whether a given error is an instance of "no_version_error".
IsDocParseError tests whether a given error is an instance of "parse_error".
IsDocUnknownVersionError tests whether a given error is an instance of "unknown_version_error".
IsDocValidationError tests whether a given error is an instance of "validation_error".
NewDocNoVersionError creates a new error with the code "no_version_error".
NewDocNoVersionErrorBuilder creates a new error builder for the code "no_version_error".
NewDocParseError creates a new error with the code "parse_error".
NewDocParseErrorBuilder creates a new error builder for the code "parse_error".
NewDocUnknownVersionError creates a new error with the code "unknown_version_error".
NewDocUnknownVersionErrorBuilder creates a new error builder for the code "unknown_version_error".
NewDocValidationError creates a new error with the code "validation_error".
NewDocValidationErrorBuilder creates a new error builder for the code "validation_error".

# Constants

DocNoVersionErrorCode is the code for an instance of "no_version_error".
DocParseErrorCode is the code for an instance of "parse_error".
DocUnknownVersionErrorCode is the code for an instance of "unknown_version_error".
DocValidationErrorCode is the code for an instance of "validation_error".

# Variables

API is a singleton instance of the External type.
DocSection defines a section of errors with the following scope: Document errors.
Domain is the general domain in which all errors in this package belong.

# Structs

DocNoVersionErrorBuilder is a builder for "no_version_error" errors.
DocParseErrorBuilder is a builder for "parse_error" errors.
DocUnknownVersionErrorBuilder is a builder for "unknown_version_error" errors.
DocValidationErrorBuilder is a builder for "validation_error" errors.
External contains methods that can be used externally to help consume errors from this package.

# Interfaces

Error is the type of all errors generated by this package.