ZenDependencyNotFoundException constructor
ZenDependencyNotFoundException({})
Implementation
ZenDependencyNotFoundException({
required String typeName,
required String scopeName,
String? tag,
}) : super(
'Dependency not found',
context: {
'Type': typeName,
'Scope': scopeName,
if (tag != null) 'Tag': tag,
},
suggestion: tag != null
? 'Zen.put($typeName(), tag: \'$tag\');'
: 'Zen.put($typeName());',
docLink: 'https://github.com/sdegenaar/zenify#dependency-injection',
);