Right now, whole class of Devnet-specific errors gets mapped to generic ServerError response with code -1.
It would be better if those errors were distinguishable, with their own RPC error codes as extension of Starknet RPC spec.
This would require docs update as well.