[C154_I] Basic error checking function implemented.