A function to create custom errors when container fails. It can be used to point errors to the original source
The error message to use
Exception instance
A function to create custom errors when container fails. It can be used to point errors to the original source