Converts Errors returned by the function into the correct type for the
function as well adding a context message provided. There are many different situations that
need to be handled. The context message can also have a special format to use variables
in the context message.
Converts Errors returned by the function into the correct type for the
function as well adding a context message provided.
This macro will change the following function…