Return error code with `unknown error`