lib/rmega/api_response.rb in rmega-0.2.5 vs lib/rmega/api_response.rb in rmega-0.2.6

- old
+ new

@@ -1,9 +1,9 @@ module Rmega class APIResponse attr_reader :body, :code - # Check out the error codes list at https://mega.co.nz/#doc (section 11) + # Check out the error codes list at https://mega.nz/#doc (section 11) ERRORS = { -1 => 'An internal error has occurred. Please submit a bug report, detailing the exact circumstances in which this error occurred.', -2 => 'You have passed invalid arguments to this command.', -3 => 'A temporary congestion or server malfunction prevented your request from being processed. No data was altered. Retry. Retries must be spaced with exponential backoff.', -4 => 'You have exceeded your command weight per time quota. Please wait a few seconds, then try again (this should never happen in sane real-life applications).',