Skip to content

Place exceptions into their own files #16

Description

@agwidarsito

Placing the definitions of "ValidationException" and "SchemaException" inside the Validator file is no good for autoloading through Composer.

If one has not loaded instantiated the Validator class, Composer will believe it hasn't loaded the class "ValidationException" and it will attempt to find it by file. Ka boom.

Suggestion: Place the exception classes into their own files.

I can do a pull request if you want.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions