Stderr
IOErr
NotFound - An entity was not found, often a file.
PermissionDenied - The operation lacked the necessary privileges to complete.
BrokenPipe - The operation failed because a pipe was closed.
AlreadyExists - An entity already exists, often a file.
Interrupted - This operation was interrupted. Interrupted operations can typically be retried.
Unsupported - This operation is unsupported on this platform. This means that the operation can never succeed.
OutOfMemory - An operation could not be completed, because it failed to allocate enough memory.
Other - A custom error that does not fall under any other I/O error kind.
line! : Str => Result {} [StderrErr IOErr]
Write the given string to standard error, followed by a newline.
To write to
stderr
without the newline, seeStderr.write!
.
write! : Str => Result {} [StderrErr IOErr]
Write the given string to standard error.
Most terminals will not actually display strings that are written to them until they receive a newline, so this may appear to do nothing until you write a newline!
To write to
stderr
with a newline at the end, seeStderr.line!
.