OSError class
An Exception holding information about an error from the operating system.
- Implemented types
Constructors
Properties
- errorCode → int
-
Error code supplied by the operating system.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- message → String
-
Error message supplied by the operating system. This will be empty if no
message is associated with the error.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Converts an OSError object to a string representation.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- noErrorCode → const int
-
Constant used to indicate that no OS error code is available.
-1