Using ruby Module for custom exception definitions