Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 902 Bytes

Exceptions.md

File metadata and controls

32 lines (22 loc) · 902 Bytes

Meritoo Common Library

Common and useful classes, methods, exceptions etc.

Exceptions

Create instance of exception

This package contains a lot of exceptions. Each of them contains static method create() with proper arguments that is used to create instance of the exception. Example:

use Meritoo\Common\Exception\Bundle\IncorrectBundleNameException;

// ...

throw IncorrectBundleNameException::create('RisusIpsum');

More

  1. Base test case (with common methods and data providers)
  2. Collection of elements
  3. Templates
  4. Exceptions
  5. Static methods
    1. Arrays
    2. Regex
    3. Uri
  6. Value Objects

‹ Back to Readme