backend: exceptions moved to the module.