import { Exception } from './exception.js'

/**
 * A generic exception for detaching objects.
 */
export class DetachException extends Exception {
  static override code = 'E_DETACH'
  static override status = 500
  static override message = 'Error detaching the object.'
  static override help = 'Make sure you are detaching the right object.'
}
