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
Click to show internal directories.
Click to hide internal directories.