Ir para o conteúdo principal
CloudStudio

Error() function

The Error function generates an error condition containing the specified message.

Definition

Error(texto)

Parameters

NameDescriptionData type
textoContains the message text to be used for the error.string

Example

The following expression returns the value of variable x divided by 50, except if x is greater than 50, in which case it produces an error.

If(x > 50, Error('El resultado no es el esperado'), x / 50)

The result is "El resultado no es el esperado" (string).

Última atualização em

Nesta página