errors

package
v0.0.0-...-fee140a Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const ErrInvalidFactoryInput = Error("invalid factory input")

ErrInvalidFactoryInput is returned when an unsupported input is referenced in any factory function.

View Source
const ErrInvalidType = Error("invalid type")

ErrInvalidType is returned when a component is configured with an invalid type.

View Source
const ErrMissingRequiredOptions = Error("missing required options")

ErrMissingRequiredOptions is returned when a component does not have the required options to properly run.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error string

Error is an exported constant error string use of constant errors is based on this blog post: https://dave.cheney.net/2016/04/07/constant-errors constant errors make it easier to reference errors across the application

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

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