Refactored RaetError exceptions to include specific exceptions per module