This version of the documentation is outdated!
Click here for the latest released version.
compassError
onError callback function for compass functions.
Example
function(CompassError) { // Handle the error }