ErrorRecord function

Create ERROR code record.