constructor(message, err = null) {
    let fullErrorMessage = message

    if (err) {
      fullErrorMessage += `

Original error:
${err.shortMessage ?? ``}
${err.message}`
    }

    super(fullErrorMessage)

    this.name = `SharpError`
    Error.captureStackTrace(this, SharpError)
  }
@param {string} message
@param {Error} err