README

moonbitlang/async/os_error does not have a README file

#
OSError

pub(all) suberror OSError {
OSError(Int, context~ : String)
} derive(ToJson)

impl Show for OSError

#
OSError::is_EACCES

fn OSError::is_EACCES(err : OSError) -> Bool

Detect whether the error is the EACCES (permission denied) error.

#
OSError::is_ECONNREFUSED

fn OSError::is_ECONNREFUSED(err : OSError) -> Bool

Detect whether the error is the ECONNREFUSED (connection refused) error.

#
OSError::is_EEXIST

fn OSError::is_EEXIST(err : OSError) -> Bool

Detect whether the error is the EEXIST (already exists) error.

#
OSError::is_EINTR

fn OSError::is_EINTR(err : OSError) -> Bool

#
OSError::is_ENOENT

fn OSError::is_ENOENT(err : OSError) -> Bool

Detect whether the error is the ENOENT (no such file or directory) error.

#
OSError::is_ENOTDIR

fn OSError::is_ENOTDIR(err : OSError) -> Bool

#
OSError::is_ERROR_NOTIFY_ENUM_DIR

fn OSError::is_ERROR_NOTIFY_ENUM_DIR(err : OSError) -> Bool

Detect whether the error is the ECONNREFUSED (connection refused) error.

#
OSError::is_nonblocking_io_error

fn OSError::is_nonblocking_io_error(err : OSError) -> Bool

#
check_errno

fn check_errno(context : String) -> Unit raise OSError

#
errno_ENOTDIR

let errno_ENOTDIR : Int

#
errno_ENOTSUP

let errno_ENOTSUP : Int

#
errno_to_string

#internal(internal, "for internal use only")
fn errno_to_string(errno : Int) -> String

#
get_errno

fn get_errno() -> Int

#
is_nonblocking_io_error

fn is_nonblocking_io_error() -> Bool

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io