Add more error status codes to help debugging in the future. Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>