Prepare the error as a Error.
error
Error
(ErrorType errorType, string message, error other)
the error type.
the error message.
the error instance.
prepared Error instance.