error framework changes

- split NewMaskedErrorf into NewMaskedErrorWithContext and
NewMaskedErrorWithContextf as the functionality didn’t follow idiomatic
naming conventions