PrintError enum
Error codes returned in response to onPrintRequested
event.
Values
- ok → const PrintError
-
Specifies that the operation was completed successfully.
const PrintError('OK')
- failed → const PrintError
-
Specifies that a general failure occured.
const PrintError('FAILED')
- invalidTicket → const PrintError
-
Specifies that the print ticket is invalid. For example, the ticket is inconsistent with some capabilities, or the extension is not able to handle all settings from the ticket.
const PrintError('INVALID_TICKET')
- invalidData → const PrintError
-
Specifies that the document is invalid. For example, data may be corrupted or the format is incompatible with the extension.
const PrintError('INVALID_DATA')
Properties
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
Static Methods
-
fromJS(
String value) → PrintError
Constants
-
values
→ const List<
PrintError> - A constant List of the values in this enum, in order of their declaration.