juanchosl/exceptions

A small, lightweight collection of Exceptions that are using the standard values for use on requests

1.0.4 2024-06-12 17:37 UTC

This package is auto-updated.

Last update: 2024-10-12 18:24:55 UTC


README

Description

A small, lightweight collection of Exceptions that are using the standard values for use on requests

Install

composer require juanchosl/exceptions

How use it

Load composer autoload and use the JuanchoSL\Exceptions{EXCEPTION} class

if(!files_exists($full_path)){
    throw new NotFoundException("The file '{$full_path}' does not exists");
}