Government not liable for errors of Courts
38. It is hereby declared and enacted that the Government is not and shall not be held liable for any error or irregularity which may have occurred, or shall, occur, in any order, proceeding or decree of any Court of judicature, whether a revenue or other officer of the Government may or may not have been, or shall or shall not be, employed in giving effect to the order, proceeding or decree deemed to be erroneous or irregular.
Nor shall any officer of the Government be held liable for anything done or suffered in conformity with an order, proceeding or decree of a Court as aforesaid: and if any person or persons shall sue the Government or any officer of the Government for anything done or suffered under an order, proceeding or decree of Court as aforesaid, such person or persons shall be non-suited, with costs.
The same principle is and shall be held applicable to all orders proceedings or decrees made, held or passed by any public officer, in virtue of powers vested in him for the judicial cognisance of any pleas, suits, complaints or information, whatsoever, unless otherwise specially provided.