getExitCode()} : {$process->getExitCodeText()} : {$process->getErrorOutput()}"); } /** * @return \Spatie\DbDumper\Exceptions\DumpFailed */ public static function dumpfileWasNotCreated() { return new static('The dumpfile could not be created'); } /** * @return \Spatie\DbDumper\Exceptions\DumpFailed */ public static function dumpfileWasEmpty() { return new static('The created dumpfile is empty'); } }