How to inject error in AHB master driver

In reply to harsh7112001:

Typically a field is added to the sequence_item which specifies if there is to be an error introduced by the driver while executing the transaction on the bus.