Perhaps if the error was like âObject Doesnât Existâ or something like âBlah is a nil valueâ [I want this to be the error type]: would change to a custom string
I canât really think of using anything other than string.find on the error and setting it up so that if a certain word is in the error it prints your custom error, but I donât get why you want to do this. Itâs inefficient and you canât handle every scenario to exist. Whatâs wrong with just printing the error?