Avoid the case where EXCEPTIONS_MAP[error].new(e) raises an exception and breaks everything.