Pulling exceptions into an own module.