Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed class Container : LcpError

Errors while reading or writing a LCP container (LCPL, EPUB, LCPDF, etc.)

Link copied to clipboard

Failed to retrieve the Certificate Revocation List.

Link copied to clipboard
sealed class Decryption : LcpError
Link copied to clipboard
sealed class LicenseIntegrity : LcpError

An error occurred while checking the integrity of the License, it can't be retrieved.

Link copied to clipboard

The interaction is not available with this License.

Link copied to clipboard

This License's profile is not supported by liblcp.

Link copied to clipboard
sealed class LicenseStatus : LcpError

Errors while checking the status of the License, using the Status Document.

Link copied to clipboard
Link copied to clipboard
class Network(val cause: Error?) : LcpError

A network request failed with the given exception.

Link copied to clipboard
sealed class Parsing : LcpError

Errors while parsing the License or Status JSON Documents.

Link copied to clipboard
sealed class Renew : LcpError

Errors while renewing a loan.

Link copied to clipboard
sealed class Return : LcpError

Errors while returning a loan.

Link copied to clipboard
class Runtime(message: String) : LcpError

An unexpected LCP exception occurred. Please post an issue on r2-lcp-kotlin with the error message and how to reproduce it.

Link copied to clipboard
class Unknown(val cause: Error?) : LcpError

An unknown low-level exception was reported.

Properties

Link copied to clipboard
open override val cause: Error?
Link copied to clipboard
open override val message: String