Skip to content

Rename \tripod\exceptions\Exception #77

@scaleupcto

Description

@scaleupcto

If you're editing a file which uses \tripod\exceptions this doesn't do what you think it does:

try {
  // do something
} catch (Exception $e) {
  // log error
} 

It actually catches \tripod\exceptions\Exception, not \Exception. Rename the former to be more specific and less bug-prone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions