Sprockets\File::__toString PHP Method

__toString() public method

public __toString ( )
    public function __toString()
    {
        try {
            return $this->process();
        } catch (Exception\Asset $e) {
            exit('Asset exception (' . $this->getFilepath() . ') : ' . $e->getMessage());
        } catch (\Exception $e) {
            exit('External exception (' . $this->getFilepath() . ') : ' . $e->getMessage() . '<pre>' . $e->getTraceAsString() . '</pre>');
        }
    }