Added an error code in cobalt location plugin errors