role X::OS

Error reported by the operating system
role X::OS { has $.os-error }

Common role for all exceptions that are triggered by some error reported by the operating system (failed IO, system calls, fork, memory allocation).

Methods

method os-error

method os-error(--> Str:D)

Returns the error as reported by the operating system.

See Also

role X::Comp

Common role for compile-time errors

role X::IO

IO related error

role X::Pod

Pod related error

role X::Proc::Async

Exception thrown by Proc::Async

role X::Syntax

Syntax error thrown by the compiler

role X::Temporal

Error related to DateTime or Date

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.