This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Motivation: | |
# Wanted a more solid way to test validation resulted in correct errors | |
# other than matching strings; | |
# Decoupling the very notion of error from message | |
# | |
# Sideeffects: | |
# - Conventional way to namespace error translation by actual path | |
module Translatable |