Capture errors and debugging information in your functions
console
namespace is globally available by default in
all AssemblyScript functions, you don’t need to import it.console
object, but
directs the output to Hypermode as follows:
console.error
is also sent to the GraphQL response.throw
keyword are also sent to the GraphQL response.console
namespace are below, organized by category.
null
.console.time
.
console.time
, and
discards the timer.