Added some custom errors