PackageNotFoundException class
An class for exceptions where a package could not be found in a Source.
The source is responsible for wrapping its internal exceptions in this so that other code in pub can use this to show a more detailed explanation of why the package was being requested.
- Inheritance
-
- Object
- ApplicationException
- WrappedException
- PackageNotFoundException
Constructors
- PackageNotFoundException(String message, {Object? innerError, StackTrace? innerTrace, String? hint})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String?
-
A hint indicating an action the user could take to resolve this problem.
final
- innerChain → Chain?
-
The stack chain for innerError if it exists.
finalinherited
- innerError → Object?
-
The underlying exception that this is wrapping, if any.
finalinherited
- message → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited