IDA SDK
Error codes for signature functions:

See calc_idasgn_state() and del_idasgn()

See calc_idasgn_state() and del_idasgn()