Fix an NPE if getErrors() is called before initOptions()
Merge pull request #753 from Medium/nick-patch-npe

Fix an NPE if getErrors() is called before initOptions()