Added module for handling Rails exceptions