perl6/doc/lib/X/OS

doc src
(title) role X::OS
    role X::OS { has $.os-error }

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

Methods

(head2) os-error
    method os-error() returns Str:D

 
Returns the error as reported by the operating system.

Perl 6 Tricks and Treats newsletter

Register to the free newsletter now, and get updates and news.
Email:
Name: