Object/Class

org.gerweck.scala.util

ExitCode

Related Docs: class ExitCode | package util

Permalink

object ExitCode

A container of standardized exit codes.

These are based on the BSD standardized exit codes. Linux and SysV don't really have a OS-level standard, and many applications use different codes, but these are the most standardized codes that exist.

Source
ExitCode.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExitCode
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val CantCreat: ExitCode

    Permalink

    A (user specified) output file cannot be created.

  5. final val Config: ExitCode

    Permalink

    Something was found in an unconfigured or misconfigured state.

  6. final val DataErr: ExitCode

    Permalink

    The input data was incorrect in some way.

    The input data was incorrect in some way.

    This should only be used for user's data and not system files.

  7. final val IOErr: ExitCode

    Permalink

    An error occurred while doing I/O on some file.

  8. final val NoHost: ExitCode

    Permalink

    The host specified did not exist.

    The host specified did not exist.

    This is used in mail addresses or network requests.

  9. final val NoInput: ExitCode

    Permalink

    An input file (not a system file) did not exist or was not readable.

    An input file (not a system file) did not exist or was not readable.

    This could also include errors like **No message** to a mailer (if it cared to catch it).

  10. final val NoPerm: ExitCode

    Permalink

    You did not have sufficient permission to perform the operation.

    You did not have sufficient permission to perform the operation.

    This is not intended for file system problems, which should use NoInput or CantCreat, but rather for higher level permissions.

  11. final val NoUser: ExitCode

    Permalink

    The user specified did not exist.

    The user specified did not exist.

    This might be used for mail addresses or remote logins.

  12. final val OSErr: ExitCode

    Permalink

    An operating system error has been detected.

    An operating system error has been detected.

    This is intended to be used for such things as **cannot fork**, **cannot create pipe**, or the like. It includes things like getuid returning a user that does not exist in the passwd file.

  13. final val OSFile: ExitCode

    Permalink

    Some system file does not exist, cannot be opened, or has some sort of error.

    Some system file does not exist, cannot be opened, or has some sort of error.

    E.g., there is a syntax error in /etc/passwd or /var/run/utx.active.

  14. final val Okay: ExitCode

    Permalink

    The command succeeded.

  15. final val Protocol: ExitCode

    Permalink

    The remote system returned something that was **not possible** during a protocol exchange.

  16. final val Software: ExitCode

    Permalink

    An internal software error has been detected.

    An internal software error has been detected.

    This should be limited to non-operating system related errors as possible.

  17. final val TempFail: ExitCode

    Permalink

    Temporary failure, indicating something that is not really an error.

    Temporary failure, indicating something that is not really an error.

    In sendmail, this means that a mailer (e.g.) could not create a connection, and the request should be reattempted later.

  18. final val Unavailable: ExitCode

    Permalink

    A service is unavailable.

    A service is unavailable.

    This can occur if a support program or file does not exist. This can also be used as a catchall message when something you wanted to do does not work, but you do not know why.

  19. final val Usage: ExitCode

    Permalink

    The command was used incorrectly.

    The command was used incorrectly.

    E.g., it was used with the wrong number of arguments, a bad flag, a bad syntax in a parameter, or whatever.

  20. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  21. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped