Do other words besides 'illa' carry the same ruling as exception?
General Chapter
Al-Mughni
Book of Acknowledgment of Rights
Primary text
The ruling on exception applies to other tools such as saying, 'I owe ten except one dirham' ('siwa dirham'), 'not a dirham' ('laysa dirhaman'), 'omitting a dirham' ('khala dirhaman'), 'counting out a dirham' ('a'adda dirhaman'), 'what omits a dirham' ('ma khala' or 'ma a'adda dirhaman'), or 'not being a dirham' ('la yakunu dirhaman' or 'ghayra dirham' with the accusative 'ra'), in which case nine is affirmed. The ruling is the same as exception.
Supporting text
If one says, 'ghayra dirham' with the nominative 'ra' (ghayru) and is a master of Arabic grammar, they affirm ten, because 'ghayru' functions as an adjective describing the affirmed ten and is not an exception. If it were an exception, it would be in the accusative case. However, if the speaker is not proficient in Arabic grammar, nine is incumbent upon them because the apparent intent was exception, but they used the nominative case due to ignorance of Arabic grammar rather than intending it as an adjective.