Adds useful 'exception contains' method that can check exception class type and message