data AccessDenied
The policy of the callee refuses the caller (§13). One of the alternatives of NetError.
Example:
fn main() io {
let e: NetError = AccessDenied{}
match e {
AccessDenied _ => print("denied")
_ => print("other")
}
}Output
denied
@error pub(api) data AccessDeniedSince. 1.0.0-beta
Defined in: std/core/types.oxl:1345