LazyRecord\QueryException::toArray PHP Method

toArray() public method

public toArray ( )
    public function toArray()
    {
        return ['message' => $this->getMessage(), 'record' => get_class($this->record), 'file' => $this->getFile(), 'line' => $this->getLine(), 'trace' => $this->getTrace(), 'previous' => $this->getPrevious(), 'debug' => $this->debugInfo];
    }