Hello everyone, I whis good health for everyone. I want study and know the error codes that appears in MIT App inventor components (example: 1103 in screen component, 400 in web omponent) . Caan you help me to find where may learn about it?
Tanks, have a nice day.
TIMAI2
November 30, 2024, 8:05pm
2
Not sure there is such a place (because there are many, many possible errors)
Best thing to do is to just search this community, should you come across an error.
Focus on error free block coding
1 Like
Thanks for your recommendation master, so I thresold my petition: where I can learn the code of conectivity errors with its interpretation. For example, when the ap try to load web content but no internet connection avaliable (such this). Thanks for your help, and forgive my bad english.
Peter
December 1, 2024, 7:24am
4
You mean something like this?
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2023 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.components.runtime.util;
import java.util.HashMap;
import java.util.Map;
/**
* Provides constants and methods related to error numbers and messages.
*
* @author lizlooney@google.com (Liz Looney)
*/
public final class ErrorMessages {
public static final int ERROR_DEFAULT = 0;
// Phone version errors
public static final int ERROR_FUNCTIONALITY_NOT_SUPPORTED_CONTACT_EMAIL = 1;
This file has been truncated. show original
3 Likes
Peter
December 1, 2024, 11:35am
5
Brayan_David_Quinter:
400 in web omponent
these are http status codes and are send by the server
This is a list of Hypertext Transfer Protocol (HTTP) response status codes. Status codes are issued by a server in response to a client's request made to the server. It includes codes from IETF Request for Comments (RFCs), other specifications, and some additional codes used in some common applications of the HTTP. The first digit of the status code specifies one of five standard classes of responses. The optional message phrases shown are typical, but any human-readable alternative may be p...
1 Like
This is! you rock! thanks, have a long and beautiful life.