-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Val err details #12
Val err details #12
Commits on Jul 5, 2021
-
Added a source_type and message field to ValidationError.
- ValidationError should have more detail. - ValidationError::message should maybe have a String so people can use format! to generate the messages.
ObsceneGiraffe committedJul 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 9c2a110 - Browse repository at this point
Copy the full SHA 9c2a110View commit details -
ObsceneGiraffe committed
Jul 5, 2021 Configuration menu - View commit details
-
Copy full SHA for 84a0748 - Browse repository at this point
Copy the full SHA 84a0748View commit details
Commits on Jul 7, 2021
-
Merge branch 'master' into val_err_details
ObsceneGiraffe committedJul 7, 2021 Configuration menu - View commit details
-
Copy full SHA for da75369 - Browse repository at this point
Copy the full SHA da75369View commit details -
Made the ValidationError message for Ensure closures lowercase and
remove the period.
ObsceneGiraffe committedJul 7, 2021 Configuration menu - View commit details
-
Copy full SHA for 545cf7c - Browse repository at this point
Copy the full SHA 545cf7cView commit details -
Debug nad Display impls for ValidationError use the message field.
ObsceneGiraffe committedJul 7, 2021 Configuration menu - View commit details
-
Copy full SHA for 228ef1d - Browse repository at this point
Copy the full SHA 228ef1dView commit details -
ValidationError::message
retyped from&str
toString
.- String allows for error messages constructed using format! and such macros.
ObsceneGiraffe committedJul 7, 2021 Configuration menu - View commit details
-
Copy full SHA for bfa720a - Browse repository at this point
Copy the full SHA bfa720aView commit details -
ConstructionError includes the input value in the error mesasge.
- The message field is removed as there is no need for custom error messages yet. - The type alias is passed given to the Error so it can print it.
ObsceneGiraffe committedJul 7, 2021 Configuration menu - View commit details
-
Copy full SHA for bf23b9c - Browse repository at this point
Copy the full SHA bf23b9cView commit details -
Restored the assert_matches in the tests.
ObsceneGiraffe committedJul 7, 2021 Configuration menu - View commit details
-
Copy full SHA for 25abe8f - Browse repository at this point
Copy the full SHA 25abe8fView commit details -
Made the ConstructionError::guarded_type_name a &'static str.
ObsceneGiraffe committedJul 7, 2021 Configuration menu - View commit details
-
Copy full SHA for 293c758 - Browse repository at this point
Copy the full SHA 293c758View commit details
Commits on Jul 9, 2021
-
Renamed ConstructionError back to ValidationError.
- There was a plan to have two errors, one for Construction and another for Mutation. This is not going ahead due to it requiring major arch changes.
ObsceneGiraffe committedJul 9, 2021 Configuration menu - View commit details
-
Copy full SHA for db02884 - Browse repository at this point
Copy the full SHA db02884View commit details -
ObsceneGiraffe committed
Jul 9, 2021 Configuration menu - View commit details
-
Copy full SHA for 3adae1f - Browse repository at this point
Copy the full SHA 3adae1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5db539b - Browse repository at this point
Copy the full SHA 5db539bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a9684a - Browse repository at this point
Copy the full SHA 6a9684aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 426e4bc - Browse repository at this point
Copy the full SHA 426e4bcView commit details -
Removed value from ValidationError.
- The value would force the users type to implement `Clone`.
ObsceneGiraffe committedJul 9, 2021 Configuration menu - View commit details
-
Copy full SHA for c85f522 - Browse repository at this point
Copy the full SHA c85f522View commit details -
Reinstated value to
ValidationError
but as aString
.- This allows the error to store a value without a generic `T: Clone + Debug`
ObsceneGiraffe committedJul 9, 2021 Configuration menu - View commit details
-
Copy full SHA for 1cc5924 - Browse repository at this point
Copy the full SHA 1cc5924View commit details -
Configuration menu - View commit details
-
Copy full SHA for b779b76 - Browse repository at this point
Copy the full SHA b779b76View commit details -
Merge branch 'val_err_details' of github.com:ObsceneGiraffe/prae into…
… val_err_details
Configuration menu - View commit details
-
Copy full SHA for 49409f8 - Browse repository at this point
Copy the full SHA 49409f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39e8928 - Browse repository at this point
Copy the full SHA 39e8928View commit details