compassError
onError callback function for compass functions.
Example
function(CompassError) { // Handle the error }