This is very minor, but the `int error_code` param should be camel case.