The Calliope mini may not be able to execute code. In this case, a sad face appears on the LED matrix, followed by an error number.
This number is an error code. Different numbers have different meanings and can help with troubleshooting.
Board system error
The Calliope mini system errors are between 01 and 99.
10 The internal I2C bus is not working
20 There is no free memory on the Calliope mini
30 A problem in the heap area
40 There was a NULL dereference, the Calliope mini was trying to manage an invalid object pointer
42 There is an error condition in the Calliope mini system software
43 The Calliope mini cannot activate the radio
50 An error occurred with the Calliope mini acceleration component
51 An error occurred in the magnetometer component of the Calliope mini
90 Current board hardware does not match the configuration description
Memory error
Memory error codes range from 800 - 909.
Garbage Collector Error
840 Assignment pointer is null or invalid
841 Garbage collection queue error
843 VTable entry is not free
844 GC allocation failed for requested number of bytes
846 Invalid allocation thread
848 Grant pointer beyond the grant header
849 Assignment pointer is null
Program access error
901 The Type header of the object is not valid
902 The data portion of the object is larger than its specified length
903 The object reference has been deleted and the object is no longer valid
904 The object size does not match the size defined for the Type
905 A vtable object is invalid or not initialized
906 An internal resource error
907 The specified device resource does not exist
909 The value of the argument is out of range or the type or format is invalid
JavaScript runtime error
Invalid cast codes
If the static type of x is a class C, but the dynamic type of x is not C, and you try to access a field of x or call a method of x, depending on the dynamic type of x, you will get one of the following codes.
980 If the value of x is undefined
981 If the value of x is true or false
982 If x is a number
983 If x is a string
984 If x is an object of a specific type
985 If x is a function
989 If x is zero