OpenPgpError

class OpenPgpError(var errorId: Int = GENERIC_ERROR, var message: String? = null) : Parcelable

Wire-compatible with openpgp-api org.openintents.openpgp.OpenPgpError for IPC result extras.

Constructors

Link copied to clipboard
constructor(errorId: Int = GENERIC_ERROR, message: String? = null)
constructor(parcel: Parcel)

Reconstructs an error from a versioned/size-prefixed Parcel.

Types

Link copied to clipboard
object Companion

Parcel envelope version and stable numeric error codes for the API.

Properties

Link copied to clipboard

One of the *_ERROR constants describing the failure kind.

Link copied to clipboard

Optional human-readable description of the failure.

Functions

Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard
open override fun writeToParcel(dest: Parcel, flags: Int)

Serializes the error using the version/size envelope expected by clients.