src/Debug/Internal.php
public function getErrorCaller()
    {
        $meta = array();
        if ($this->error) {
            // no need to store originating file/line... it's part of error message
            $meta = array(
                'errorType' => $this->error['type'],
                'errorCat' => $this->error['category'],
                'errorHash' => $this->error['hash'],
                'backtrace' => $this->error['backtrace'] ?: array(),
                'sanitize' => $this->error['isHtml'] === false,
                'channel' => 'phpError',
            );
        } else {
            $meta = $this->debug->utilities->getCallerInfo();
            $meta = array(
                'file' => $meta['file'],
                'line' => $meta['line'],
            );
        }
        return $meta;
    }
public function getErrorCaller()
    {
        $meta = array();
        if ($this->error) {
            // no need to store originating file/line... it's part of error message
            $meta = array(
                'errorType' => $this->error['type'],
                'errorCat' => $this->error['category'],
                'errorHash' => $this->error['hash'],
                'backtrace' => $this->error['backtrace'] ?: array(),
                'sanitize' => $this->error['isHtml'] === false,
                'channel' => 'phpError',
            );
        } else {
            $meta = $this->debug->utilities->getCallerInfo();
            $meta = array(
                'file' => $meta['file'],
                'line' => $meta['line'],
            );
        }
        return $meta;
    }
Get calling line/file for error and warn

@return array