<?php

namespace App\Exceptions;

/**
 * Exception for business logic errors.
 * These are expected errors that should be shown to the user.
 */
class BusinessException extends ApiException
{
    public function __construct(string $message, int $code = 422)
    {
        parent::__construct($message, $code);
    }
}
