OkfExitCode enum
Process outcomes owned by the finding contract.
Values
- success → const OkfExitCode
-
No active findings fail the requested validation mode.
const OkfExitCode(0) - findings → const OkfExitCode
-
An error, or an advisory in strict mode, remains active.
const OkfExitCode(1) - usage → const OkfExitCode
-
The invocation failed before a report existed.
Adapters return this for an unparseable invocation or an unreadable bundle source. Malformed content inside a loadable bundle merges into the OkfReport as findings and exits through findings instead.
const OkfExitCode(2)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
The integer returned to a process adapter.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
OkfExitCode> - A constant List of the values in this enum, in order of their declaration.