Give Error::text() a static lifetime

Merged Michael Aaron Murphy requested to merge static-err into master

If the STR_ERROR values are static, then the returned reference may also be static.

Merge request reports