DSLProxy should have less number of default method.
switch error object whether it is as SyntanxError.