Closed ghost closed 2 years ago
This PR checks if the token exists for GetApproved(). If the token doesn't exist, then it throws CodeNotFound error.
GetApproved()
CodeNotFound
The current GetApproved() throws CodeNotApproved error if the token doesn't exist. This can be misleading.
CodeNotApproved
This PR checks if the token exists for
GetApproved()
. If the token doesn't exist, then it throwsCodeNotFound
error.The current
GetApproved()
throwsCodeNotApproved
error if the token doesn't exist. This can be misleading.