blockly > ConnectionChecker > getErrorMessage
ConnectionChecker.getErrorMessage() yöntemi
Bağlantı hata kodunu dizeye çeviren yardımcı yöntem.
İmza:
getErrorMessage(errorCode: number, a: Connection | null, b: Connection | null): string;
Parametreler
Parametre |
Tür |
Açıklama |
errorCode |
sayı |
Hata kodu. |
a |
Bağlantı | null |
İki bağlantıdan biri kontrol ediliyor. |
b |
Bağlantı Kurun | null |
Kontrol edilen iki bağlantıdan ikincisi. |
İadeler:
dize
Geliştirici tarafından okunabilir bir hata dizesi.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-10-16 UTC.
[null,null,["Son güncelleme tarihi: 2024-10-16 UTC."],[[["`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."]]],[]]