fix: add CustomCredentials
error class to extend from for custom authorize()
error
#10231
+43
−12