mirror of
https://github.com/denoland/deno.git
synced 2024-12-18 13:22:55 -05:00
c56274285d
This commit separates `PermissionDeniedError` into two kinds; `Retryable` and `Fatal`. The existing `PermissionDeniedError`s fall into `Retryable`, since permission errors can be resolved by retrying with proper permissions in Deno CLI. The motivation of adding `Fatal` is that in some environments some operations are just disabled; for instance, in Deno Deploy, any write operations to filesystem can never be granted, in which case `Fatal` kind becomes useful. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> |
||
---|---|---|
.. | ||
Cargo.toml | ||
clippy.toml | ||
lib.rs | ||
prompter.rs | ||
README.md |