Eno\Error » text

text → string

Returns a one-liner that describes the error in human language.

phptry {
  // ...
} catch(Error $e) {
  $e->text;  // returns 'In line 4 'a' is copied into itself.'
}

Return value

A single sentence that describes the error in human language.