Implement custom validation error

Fixes #78
Merge pull request #89 from greezybacon/feature/custom-error

Implement custom validation error

Reviewed-By: Peter Rotich <peter@osticket.com>