Sign Up

Validation Errors

Validation errors are similar to class errors but are performed at a lower level than the class. Any validation errors that arise will be displayed in the problems section of the bottom workspace bar.

Clicking on the validation error will highlight the specific area where the problem occurs.

If any validation errors are present, you won't be able to build an API until they are resolved. Ensuring that your class passes validation is crucial for a smooth and error-free development process.

Related Topics

Global Variables

To access the view of global variables, simply click on the globe icon located in the workspace toolbar within a class. Additionally, you can press CTRL + G to initiate the opening of the global variables view. Global variables are variables declared at the global scope, providing accessibility from...

What is a Class?

A class in the API serves as a structured entity that holds both variables and functions. These functions are used in both endpoints and events to define specific functionalities. Variable A variable within the API is represented by a symbolic name or identifier, acting as a storage location in the ...

Statements

In a function, various types of statements can be created to perform specific actions and control the flow of execution: Create Variable: Generates a new variable, which can be initialized from scratch, reference an existing variable or parameter, the result of a function, retrieve data from the dat...

Variable Scopes

Global Variables: Accessible from any part of the workspace, including Endpoints and Events. Class Variables: Accessible from any function within the class they belong to, only available in Normal Mode. Test Variables: Accessible from any function within the class they belong to, only available in T...

Testing

To ensure the proper functioning of your functions, it is essential to create tests that validate their output and ensure the reliability of your classes. To create tests, switch your class to test mode by clicking the "Tests" button in the bottom toolbar. This will display an alternate workspace de...