ShutterException class

An expected failure with a user-facing message and a sysexits-aligned exit code. runApp prints message to stderr and exits with exitCode; anything else escaping a command is EX_SOFTWARE (70).

Implemented types

Constructors

ShutterException(String message)
EX_CONFIG (78) — the project is not in a usable state.
const
ShutterException.noInput(String message)
EX_NOINPUT (66) — a named run or file does not exist.
ShutterException.unavailable(String message)
EX_UNAVAILABLE (69) — a required external tool (Flutter) is missing.
ShutterException.usage(String message)
EX_USAGE (64) — the arguments are inconsistent.

Properties

exitCode → int
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
final
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