Skip to main content

errors

Index

Functions

EBADF

  • EBADF(reason: string): Error & { code: string }
  • Parameters

    • reason: string

    Returns Error & { code: string }

EBUSY

  • EBUSY(message: string): Error & { code: string }
  • Parameters

    • message: string

    Returns Error & { code: string }

EEXIST

  • EEXIST(reason: string): Error & { code: string }
  • Parameters

    • reason: string

    Returns Error & { code: string }

EINVAL

  • EINVAL(reason: string): Error & { code: string }
  • Parameters

    • reason: string

    Returns Error & { code: string }

EISDIR

  • EISDIR(reason: string): Error & { code: string }
  • Parameters

    • reason: string

    Returns Error & { code: string }

ENOENT

  • ENOENT(reason: string): Error & { code: string }
  • Parameters

    • reason: string

    Returns Error & { code: string }

ENOSYS

  • ENOSYS(message: string, reason: string): Error & { code: string }
  • Parameters

    • message: string
    • reason: string

    Returns Error & { code: string }

ENOTDIR

  • ENOTDIR(reason: string): Error & { code: string }
  • Parameters

    • reason: string

    Returns Error & { code: string }

ENOTEMPTY

  • ENOTEMPTY(reason: string): Error & { code: string }
  • Parameters

    • reason: string

    Returns Error & { code: string }

EOPNOTSUPP

  • EOPNOTSUPP(reason: string): Error & { code: string }
  • Parameters

    • reason: string

    Returns Error & { code: string }

EROFS

  • EROFS(reason: string): Error & { code: string }
  • Parameters

    • reason: string

    Returns Error & { code: string }

ERR_DIR_CLOSED

  • ERR_DIR_CLOSED(): Error & { code: string }
  • Returns Error & { code: string }