making my own ErrorException