ParseError class

ParseException is used in ParseResult to inform the user of the exception

Constructors

ParseError({int code = otherCause, String message = 'OtherCause', Exception? exception, bool debug = false})

Properties

code int
final
exception Exception?
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
type String?
getter/setter pair

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

Constants

accountAlreadyLinked → const int
Error code indicating that an an account being linked is already linked to another user.
aggregateError → const int
Error code indicating that there were multiple errors. Aggregate errors have an "errors" property, which is an array of error objects with more detail about each error that occurred.
cacheMiss → const int
Error code indicating the result was not found in the cache.
commandUnavailable → const int
Error code indicating that the feature you tried to access is only available internally for testing purposes.
connectionFailed → const int
Error code indicating the connection to the Parse servers failed.
duplicateRequest → const int
Error code indicating that the request was a duplicate and has been discarded due to idempotency rules.
duplicateValue → const int
Error code indicating that a unique field was given a value that is already taken.
emailMissing → const int
Error code indicating that the email is missing, but must be specified.
emailNotFound → const int
Error code indicating that a user with the specified email was not found.
emailTaken → const int
Error code indicating that the email has already been taken.
exceededQuota → const int
Error code indicating that an application quota was exceeded. Upgrade to resolve.
fileDeleteError → const int
Error code indicating an error deleting a file.
fileDeleteUnnamedError → const int
Error code indicating an error deleting an unnamed file.
fileReadError → const int
Error code indicating the client was unable to read an input file.
fileSaveError → const int
Error code indicating an error saving a file.
fileTooLarge → const int
Error code indicating a file that was too large.
incorrectType → const int
Error code indicating that a field was set to an inconsistent type.
internalServerError → const int
Error code indicating that something has gone wrong with the server.
invalidAcl → const int
Error code indicating an invalid ACL was provided.
invalidChannelName → const int
Error code indicating an invalid channel name. A channel name is either an empty string (the broadcast channel) or contains only a-zA-Z0-9_ characters and starts with a letter.
invalidClassName → const int
Error code indicating a missing or invalid classname. Classnames are case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the only valid characters.
invalidContentLength → const int
Error code indicating an invalid content length.
invalidEmailAddress → const int
Error code indicating that the email address was invalid.
invalidEventName → const int
Error code indicating an invalid event name.
invalidFileName → const int
Error code indicating that an invalid filename was used for ParseFile. A valid file name contains only a-zA-Z0-9_. characters and is between 1 and 128 characters.
invalidImageData → const int
Error code indicating that invalid image data was provided.
invalidJson → const int
Error code indicating that badly formed JSON was received upstream. This either indicates you have done something unusual with modifying how things encode to JSON, or the network is failing badly.
invalidKeyName → const int
Error code indicating an invalid key name. Keys are case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the only valid characters.
invalidLinkedSession → const int
Error code indicating that a user with a linked (e.g. Facebook) account has an invalid session.
invalidNestedKey → const int
Error code indicating that an invalid key was used in a nested JSONObject.
invalidPointer → const int
Error code indicating a malformed pointer. You should not see this unless you have been mucking about changing internal Parse code.
invalidPushTimeError → const int
Error code indicating an invalid push time.
invalidQuery → const int
Error code indicating you tried to query with a datatype that doesn't support it, like exact matching an array or object.
invalidRoleName → const int
Error code indicating that a role's name is invalid.
invalidSchemaOperation → const int
Error code indicating an invalid operation occured on schema
invalidSessionToken → const int
Error code indicating that the current session token is invalid.
invalidValue → const int
Error code indicating that a field had an invalid value.
linkedIdMissing → const int
Error code indicating that a user cannot be linked to an account because that account's id could not be found.
mfaError → const int
Error code indicating an error enabling or verifying MFA
mfaTokenRequired → const int
Error code indicating that a valid MFA token must be provided
missingContentLength → const int
Error code indicating a missing content length.
missingContentType → const int
Error code indicating a missing content type.
missingObjectId → const int
Error code indicating an unspecified object id.
mustCreateUserThroughSignup → const int
Error code indicating that a user can only be created through signup.
notInitialized → const int
You must call Parse().initialize before using the Parse library.
objectNotFound → const int
Error code indicating the specified object doesn't exist.
objectTooLarge → const int
Error code indicating that the object is too large.
operationForbidden → const int
Error code indicating that the operation isn't allowed for clients.
otherCause → const int
Error code indicating some error other than those enumerated here.
passwordMissing → const int
Error code indicating that the password is missing or empty.
pushMisconfigured → const int
Error code indicating that push is misconfigured.
requestLimitExceeded → const int
Error code indicating that the application has exceeded its request limit.
scriptFailed → const int
Error code indicating that a Cloud Code script failed.
sessionMissing → const int
Error code indicating that a user object without a valid session could not be altered.
timeout → const int
Error code indicating that the request timed out on the server. Typically this indicates that the request is too expensive to run.
unsavedFileError → const int
Error code indicating an unsaved file.
unsupportedService → const int
Error code indicating that a service being linked (e.g. Facebook or Twitter) is unsupported.
usernameMissing → const int
Error code indicating that the username is missing or empty.
usernameTaken → const int
Error code indicating that the username has already been taken.
validationError → const int
Error code indicating that a Cloud Code validation failed.
xDomainRequest → const int
Error code indicating a real error code is unavailable because we had to use an XDomainRequest object to allow CORS requests in Internet Explorer, which strips the body from HTTP responses that have a non-2XX status code.