Added ability to get embedded errors on getErrors() and getError()