fix code example

Code example references a direct call to `Error` which fails, proper example should us the `binding.Error` instead.