1#ifndef SAUCE_EXCEPTIONS_H_
2#define SAUCE_EXCEPTIONS_H_
15 std::runtime_error(message) {}
24 Exception(
"Request for unbound interface " + name +
".") {}
30template<
typename Dependency>
48template<
typename Dependency>
60 Exception(
"Request for unbound interface.") {}
66template<
typename Dependency>
84template<
typename Scope>
102template<
typename Scope>
114 Exception(
"Can't exit SingletonScope") {}
Thrown when re-entering the given scope, which is already open.
Definition: exceptions.h:103
Thrown when re-entering a scope that is already open.
Definition: exceptions.h:93
Thrown when a dependency cycle is found for the given interface.
Definition: exceptions.h:67
Thrown when a dependency cycle is found.
Definition: exceptions.h:57
Base class for all sauce exceptions.
Definition: exceptions.h:12
Thrown when exiting the singleton scope.
Definition: exceptions.h:111
Thrown when a provision is requested outside of its given, bound scope.
Definition: exceptions.h:85
Thrown when a provision is requested outside of its bound scope.
Definition: exceptions.h:75
Thrown when a binding hasn't been completely specified for the given interface.
Definition: exceptions.h:49
Thrown when a binding hasn't been completely specified.
Definition: exceptions.h:39
Thrown when a binding cannot be found for the given interface.
Definition: exceptions.h:31
Thrown when a binding cannot be found.
Definition: exceptions.h:21