This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can use throw new Error() normally | |
throw new Error('My error message'); | |
You can give a id to the error like so | |
let error = new Error('My error message'); | |
error.name = 'my_error_id'; | |
throw error; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Conta Criada em: 2022-01-10 11:49:08 | |
Cadastro completo em: 2022-01-10 11:56:01 | |
Cadastro completo IP: 187.19.254.34 | |
Nome: RODRIGO COSTA | |
Telefone: (83) 99810-4836 | |
E-mail: anjospks@gmail.com | |
CPF: 00762131101 | |
Endereço: Travessa 19 de agosto, 130, Jardim Maria Estela, São Paulo - SP, 04180-112 |
OlderNewer