Create your own specific subclass of StandardError and handle it.