Adding module for handling errors.