fcm-rust icon indicating copy to clipboard operation
fcm-rust copied to clipboard

errors don't parse

Open dten opened this issue 2 years ago • 1 comments

"unknown variant `TOPICS_MESSAGE_RATE_EXCEEDED`, expected one of `MissingRegistration`, `InvalidRegistration`, `NotRegistered`, `InvalidPackageName`, `MismatchSenderId`, `InvalidParameters`, `MessageTooBig`, `InvalidDataKey`, `InvalidTtl`, `Unavailable`, `InternalServerError`, `DeviceMessageRateExceeded`, `TopicsMessageRateExceeded`, `InvalidApnsCredential`"

when fcm returns an error it seems that it returns in in SHOUTING_SNAKE_CASE but the parser expects Pascal

dten avatar Jun 25 '22 15:06 dten

i realise i was using 0.7 of the code by accident, but i think this is still truee?

dten avatar Jun 25 '22 15:06 dten