Add note in style guide for error callbacks

Add an exception to avoiding brackless `if` statements for one-liners, in the event of an error callback. Resolves  #3570.