remove GetDocument method from embedding struct
format code for custom error message
go fmt