EnergyVenom's picture
Patchwise Agent Studio: Oracle AI Agent Studio cycles
af1bee9 verified
Raw History Blame Contribute Delete
330 Bytes
'use strict';
// Shared error type for the mock shell and every module pack (HTTP status + machine code + human message).
class AppError extends Error {
constructor(status, code, message) { super(message); this.status = status; this.code = code; }
}
module.exports = { AppError, err: (s, c, m) => new AppError(s, c, m) };