{"modulePath":"github.com/danceable/container","version":"v1.3.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package errors\n\n## Variables\n\n```go\nvar (\n\t// ErrNonFunctionResolver is returned when the resolver is not a function.\n\tErrNonFunctionResolver = errors.New(\"container: the resolver must be a function\")\n\n\t// ErrInvalidResolver is returned when the resolver function signature is invalid.\n\tErrInvalidResolver = errors.New(\"container: resolver function signature is invalid - it must return abstract, or abstract and error\")\n\n\t// ErrResolverDependsOnAbstract is returned when the resolver function depends on the abstract it returns.\n\tErrResolverDependsOnAbstract = errors.New(\"container: resolver function signature is invalid - depends on abstract it returns\")\n\n\t// ErrInvalidAbstraction is returned when the abstraction provided to Resolve is invalid.\n\tErrInvalidAbstraction = errors.New(\"container: invalid abstraction\")\n\n\t// ErrEncounteredError is returned when an error is encountered while making a concrete.\n\tErrEncounteredError = errors.New(\"container: encountered error while making concrete\")\n\n\t// ErrNoConcreteFound is returned when no concrete is found for the given abstraction.\n\tErrNoConcreteFound = errors.New(\"container: no concrete found for the given abstraction\")\n\n\t// ErrInvalidFunction is returned when the function provided to Call is invalid.\n\tErrInvalidFunction = errors.New(\"container: invalid function\")\n\n\t// ErrInvalidFunctionSignature is returned when the function signature is invalid.\n\tErrInvalidFunctionSignature = errors.New(\"container: receiver function signature is invalid\")\n\n\t// ErrInvalidStructure is returned when the structure provided to Fill is invalid.\n\tErrInvalidStructure = errors.New(\"container: invalid structure\")\n\n\t// ErrInvalidStructTag is returned when a struct field has an invalid struct tag.\n\tErrInvalidStructTag = errors.New(\"container: invalid struct tag\")\n\n\t// ErrCannotMakeField is returned when a field with the `container` tag cannot be made.\n\tErrCannotMakeField = errors.New(\"container: cannot make field\")\n\n\t// ErrCircularDependency is returned when registering a binding would close a cycle in\n\t// the dependency graph. The error names the path of the cycle.\n\tErrCircularDependency = errors.New(\"container: circular dependency detected\")\n)\n```\n\n","path":"github.com/danceable/container/errors","name":"errors","synopsis":"","isRedistributable":true}
