Lines Matching refs:e
147 protected function normalizeException(\Throwable $e, int $depth = 0): string argument
149 $str = $this->formatException($e);
151 if ($previous = $e->getPrevious()) {
189 private function formatException(\Throwable $e): string argument
191 $str = '[object] (' . Utils::getClass($e) . '(code: ' . $e->getCode();
192 if ($e instanceof \SoapFault) {
193 if (isset($e->faultcode)) {
194 $str .= ' faultcode: ' . $e->faultcode;
197 if (isset($e->faultactor)) {
198 $str .= ' faultactor: ' . $e->faultactor;
201 if (isset($e->detail)) {
202 if (is_string($e->detail)) {
203 $str .= ' detail: ' . $e->detail;
204 } elseif (is_object($e->detail) || is_array($e->detail)) {
205 $str .= ' detail: ' . $this->toJson($e->detail, true);
209 $str .= '): ' . $e->getMessage() . ' at ' . $e->getFile() . ':' . $e->getLine() . ')';
212 $str .= "\n[stacktrace]\n" . $e->getTraceAsString() . "\n";