Error naming

More consistent with standard languages