//now try to load a non existing file - catch the error using the normal callback for accessing the error
Button b3 = Y.newButton(ButtonConfig.create().label("nonExisting1")).render(parent).cast();
b3.on("click", new EventCallback() {
@Override
public void call(EventFacade e) {
Y.Get().css(GWT.getModuleBaseURL()+"testfiles/jsNotExists123.css", GetConfig.create(), new GetCallback() {
@Override
public void call(JsArray err_, Transaction tx) {
JsArray<GetError> err = (JsArray<GetError>)err_;
Window.alert("error count: "+err.length()+" - first error: "+
err.get(0).error());