Documentation for method os-error assembled from the following pages:

Role: X::OS §

From X::OS

(X::OS) method os-error §

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

Returns the error as reported by the operating system.