ReadOnlyError is returned when trying to write to a read-only replica.
| 26 | |
| 27 | // ReadOnlyError is returned when trying to write to a read-only replica. |
| 28 | type ReadOnlyError struct { |
| 29 | msg string |
| 30 | } |
| 31 | |
| 32 | func (e *ReadOnlyError) Error() string { |
| 33 | return e.msg |
nothing calls this directly
no outgoing calls
no test coverage detected