generate edwin_error