LcpException class

Implemented types
Implementers

Constructors

LcpException(String userMessageId, {dynamic args = const [], int? quantity, String? message, Exception? cause})
const

Properties

args → List<Object>
finalinherited
cause → Object?
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
message → String?
final
quantity → int?
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
userMessageId → String
finalinherited

Methods

getUserMessage(LocalizationsRepository localizationsRepository, {bool includesCauses = true}) → String
Gets the localized user-facing message for this exception.
inherited
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 Properties

container → ContainerException
final
crlFetching → LcpException
Failed to retrieve the Certificate Revocation List.
no setter
decryption → Decryption
final
licenseIntegrity → LicenseIntegrity
final
licenseInteractionNotAvailable → LcpException
The interaction is not available with this License.
no setter
licenseProfileNotSupported → LcpException
This License's profile is not supported by liblcp.
no setter
licenseStatus → LicenseStatus
final
parsing → Parsing
final
renew → Renew
final
return_ → Return
final
unknown → LcpException
An unknown low-level exception was reported.
no setter

Static Methods

network(Exception cause) → LcpException
A network request failed with the given exception.
runtime(String message) → LcpException
An unexpected LCP exception occurred. Please post an issue on r2-lcp-kotlin with the error message and how to reproduce it.
wrap(dynamic e) → LcpException