class Deno.errors.NotCapable
extends Error
Raised when trying to perform an operation while the relevant Deno
permission (like `--allow-read`) has not been granted.
Before Deno 2.0, this condition was covered by the [PermissionDenied](../././~/Deno.errors.PermissionDenied)
error.