<?php
namespace Buglinjo\LaravelWebp\Exceptions;
use Exception;
use Throwable;
class DriverIsNotSupportedException extends Exception
{
public function __construct($driverName = "", $code = 0, Throwable $previous = null)
{
$message = "Driver [$driverName] is not supported.";
parent::__construct($message, $code, $previous);
}
}
In case of an error, the API will return an error response containing a specific error code 400, 403 Failed and a user-friendly message. Refer to our API documentation for a comprehensive list of error codes and their descriptions.