MissingPermissionException

class MissingPermissionException(message: String, missingPermission: Permission) : PipelineException

Thrown when an operation requires a Permission that has not been granted by its PermissionHolder.

Parameters

message

a descriptive message explaining the context of the failed permission check

missingPermission

the Permission that was required but not granted

Constructors

Link copied to clipboard
constructor(message: String, missingPermission: Permission)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val code: Int
Link copied to clipboard
open val message: String?
Link copied to clipboard

Functions

Link copied to clipboard

Converts this exception to a renderable Node, and performs the error handling provided by the errorHandler strategy.

Link copied to clipboard

Converts this Exception to a PipelineException if it is not already one.