blockly > ConnectionChecker > getErrorMessage
طريقة ConnectionChecker.getErrorMessage()
طريقة مساعد تترجم رمز خطأ في الاتصال إلى سلسلة
Signature:
getErrorMessage(errorCode: number, a: Connection | null, b: Connection | null): string;
المعلمات
المعلمة |
النوع |
الوصف |
errorCode |
الرقم |
رمز الخطأ. |
a |
الاتصال | null |
أحد الاتصالين اللذين يتم فحصهما. |
b |
Connection | null |
الاتصال الثاني من الاتصالَين الجاري التحقّق منهما |
المرتجعات:
سلسلة
سلسلة خطأ يمكن للمطوّر قراءتها
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-10-16 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-10-16 (حسب التوقيت العالمي المتفَّق عليه)"],[[["`ConnectionChecker.getErrorMessage()` translates a connection error code into a human-readable string for developers."],["It takes the error code and the two connections involved as input."],["The method returns a string explaining the connection error."]]],[]]