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…
This macro is used to generate all of the boiler plate code for error types so that they all
have the same format.