ability to call method without instantiating error class