Index

Error

MMO.edms · 1 symbol · generated 5 Oct 2026

class

Error

edms.js:81

An answer of the api that is not a success: its http status, and why (the server's meta.error.message)

class MMO.edms.Error extends Error
Namespace
MMO.edms
Extends
Error

Properties1

uploadReason

readonlyaccessoredms.js:98
get uploadReason()
Type
string
new MMO.edms.Error(413, 'the file is bigger than [10] bytes.').uploadReason // 'Le fichier est trop volumineux.'

Methods1

constructor(status, message, payload)

edms.js:87
constructor(status, message, payload = null)
statusnumber- 0 when the request did not reach the server
messagestring
payload = null?Object- the answer's body