func WithErrorHandler(handler errorHandler) MiddlewareOption {
	return func(opts *options) {
		opts.errorHandler = handler
	}
}
// WithErrorHandler set a custom error handler when the given
// token is invalid.
WithErrorHandler set a custom error handler when the given
token is invalid.
// WithErrorHandler set a custom error handler when the given // token is invalid .
func WithErrorHandler(handler errorHandler) MiddlewareOption {
	return func(opts *options) {
		opts.errorHandler = handler
	}
}
func WithErrorHandler ( handler errorHandler ) MiddlewareOption { return func ( opts * options ) { opts . errorHandler = handler } }
WithErrorHandler set a custom error handler when the given
token is invalid.
WithErrorHandler set a custom error handler when the given token is invalid .