Throwable.hx 709 B

12345678910111213141516
  1. package php;
  2. /**
  3. @see http://php.net/manual/en/class.throwable.php
  4. **/
  5. @:native('Throwable')
  6. extern interface Throwable {
  7. function getPrevious() : Throwable; // Returns previous Throwable
  8. function getMessage() : String; // message of the exception
  9. function getCode() : Int; // code of the exception
  10. function getFile() : String; // source filename
  11. function getLine() : Int; // source line
  12. function getTrace() : NativeIndexedArray<NativeAssocArray<Dynamic>>; // an array of the backtrace
  13. function getTraceAsString() : String; // formated string of trace
  14. @:phpMagic function __toString() : String; // formated string for display
  15. }