android-components / mozilla.components.concept.push / PushError

PushError

sealed class PushError : Exception (source)

Various error types.

Exceptions

Name Summary
MalformedMessage data class MalformedMessage : PushError
Network data class Network : PushError
Registration data class Registration : PushError
Rust data class Rust : PushError
ServiceUnavailable data class ServiceUnavailable : PushError

Properties

Name Summary
message open val message: String

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.
uniqueId fun Exception.uniqueId(): String
Returns a unique identifier for this Throwable

Inheritors

Name Summary
MalformedMessage data class MalformedMessage : PushError
Network data class Network : PushError
Registration data class Registration : PushError
Rust data class Rust : PushError
ServiceUnavailable data class ServiceUnavailable : PushError