Overview

Namespaces

  • None
  • Peg
    • Cli
      • Commands
    • Config
    • Custom
      • Command
        • Action
          • Generate
          • Parse
      • CommandLine
      • Config
      • Localization
      • Utilities
    • Lib
      • Definitions
        • Element
      • Generator
      • Lexers
      • Plugins
      • Signals
        • Data
          • Definitions
          • Lexers
        • Type
  • PHP

Classes

  • Action
  • Command
  • Error
  • Option
  • OptionType
  • Parser
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class Error

Functions to throw error messages.

Namespace: Peg\Custom\CommandLine
Located at src/CommandLine/Error.php
Methods summary
public static
# Show( string $message )

Displays a message and exits the application with error status code.

Displays a message and exits the application with error status code.

Parameters

$message
string
$message The message to display before exiting the application.
PEG Api API documentation generated by ApiGen 2.8.0