Error wrapper to auth exception.