Skip to content

Commit

Permalink
impr: rename error field to error_flag
Browse files Browse the repository at this point in the history
Rename `error` field to `error_flag` in `QueryResult` struct.

BREAKING CHANGE: fields in the `QueryResult` struct have been renamed.

To migrate, you need to rename any references to the `QueryResult` fields
`error` to `error_flag`.
  • Loading branch information
indiv0 committed Dec 17, 2016
1 parent b4f7524 commit 93f2f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model.in.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
pub struct QueryResult {
// Attributes
pub success: bool,
pub error: bool,
pub error_flag: bool,
pub numpods: u32,
pub version: String, // TODO: replace this with a better type.
pub datatypes: String, // TODO: possibly replace this with an enum?
Expand Down

0 comments on commit 93f2f2f

Please sign in to comment.