Remix.run Logo
Svip a year ago

The consumer didn't, but the error in the example is typed, it's called `MaxBytesError`.

eptcyka a year ago | parent | next [-]

Matching the underlying type when using an interface never feels natural and is definitely the more foreign part of Go's syntax to people who are not super proficient with it. Thus, they fall back on what they know - string comparison.

simiones a year ago | parent | prev [-]

Only since go 1.19. It was a stringy error since go 1.0 until then.