 Furthermore, mandamus will typically not be granted if adequate relief can be obtained by some other means, such as appeal.The purpose of mandamus is to remedy defects of justice.It lies in the cases where there is a specific right but no specific legal remedy for enforcing that right.