Replace `msg` abbrevation.
Transform exceptions raised by schematics into an `InvalidInputError`.