'use strict';

const apiBase = require('./apiBase-b14a8285.js');

function unauthorized() {
  const error = new apiBase.ApiError('network');
  error.status = 401;
  return error;
}
function notFound() {
  const error = new apiBase.ApiError('network');
  error.status = 404;
  return error;
}
function notImplemented(message = '') {
  const error = new apiBase.ApiError('network');
  error.status = 501;
  error.statusText = message;
  return error;
}

exports.notFound = notFound;
exports.notImplemented = notImplemented;
exports.unauthorized = unauthorized;
