LcpException class Null safety

Inheritance
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.
read-onlyinherited
message String?
final
quantity int?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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 non-existent 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.
read-only
decryption Decryption
final
licenseIntegrity LicenseIntegrity
final
licenseInteractionNotAvailable LcpException
The interaction is not available with this License.
read-only
licenseProfileNotSupported LcpException
This License's profile is not supported by liblcp.
read-only
licenseStatus LicenseStatus
final
parsing Parsing
final
renew Renew
final
return_ Return
final
unknown LcpException
An unknown low-level exception was reported.
read-only

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