Error codes to init functions