Overview

Namespaces

  • esperecyan
    • webidl
      • lib

Classes

  • Record
  • TypeError
  • TypeHinter

Interfaces

  • Error

Exceptions

  • ErrorClass
  • EvalError
  • RangeError
  • ReferenceError
  • URIError
  • Overview
  • Namespace
  • Class
  • Tree

Class ErrorClass

This class is defined to construct an exception having the error name "Error". If you catch an exception having the error name "Error", use esperecyan\webidl\Error.

Exception implements Throwable
Extended by RuntimeException
Extended by esperecyan\webidl\ErrorClass implements esperecyan\webidl\Error
Namespace: esperecyan\webidl
Deprecated: 2.0.0 “Error” simple exception type is obsoleted in W3C Editor’s draft (* this is not Error IDL type).
Located at ErrorClass.php
Methods summary
public
# __construct( string $message = '', Exception $previous = null )

Parameters

$message
$previous

Overrides

Exception::__construct()
Methods inherited from Exception
__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties inherited from Exception
$code, $file, $line, $message
esperecyan/webidl documentation API documentation generated by ApiGen