jennifer icon indicating copy to clipboard operation
jennifer copied to clipboard

Callback with errors?

Open delaneyj opened this issue 3 years ago • 0 comments

Functions like StructFunc take a Group but don't return an error. I have conditions where iterating and creating the fields must error out. Right now i'm jumping through hoop to get that error. Since these callback functions are generated and I'm sure changing the function signature would cause havoc could another version be generated?

Something like

StructFuncErr(f func(*Group) error) (*Statement,error)

delaneyj avatar Mar 17 '22 04:03 delaneyj