src/Errors.php
public function getExceptions()
    {
        $exceptions = [];

        foreach ($this->factories as $factory) {
            foreach ($factory->getExceptions() as $exception => $code) {
                $exceptions[$exception] = $code;
            }
        }

        return $exceptions;
    }
public function getExceptions()
    {
        $exceptions = [];

        foreach ($this->factories as $factory) {
            foreach ($factory->getExceptions() as $exception => $code) {
                $exceptions[$exception] = $code;
            }
        }

        return $exceptions;
    }
Get exceptions

@return array