private ErrorCode ErrorHandler(ErrorCode errorCode = 3)
 {
     if (errorCode != null)
     {
         ResultCode resultCode = default(ResultCode);
         Trophies.GetLastError(ref resultCode);
         if (resultCode.lastError != null)
         {
             OnScreenLog.Add(string.Concat(new object[]
             {
                 "Error: ",
                 resultCode.get_className(),
                 ": ",
                 resultCode.lastError,
                 ", sce error 0x",
                 resultCode.lastErrorSCE.ToString("X8")
             }));
             return(resultCode.lastError);
         }
     }
     return(errorCode);
 }