genrym/streamable-buffers

View on GitHub
lib/errors.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

class BufferOverflowError extends Error {
  constructor(message) {
    super(message);
    Error.captureStackTrace(this, this.constructor);
    this.name = 'BufferOverflowError';
  }
}

module.exports = {
  BufferOverflowError: BufferOverflowError
};