chore($apply): use minErr to throw exception

chore($apply): use minErr to throw exception