@0x/utils: Change SimpleFunctionRegistry NoRollbackHistoryError to NotInRollbackHistoryError.
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
import { RevertError } from '../../revert_error';
|
||||
|
||||
// tslint:disable:max-classes-per-file
|
||||
export class NoRollbackHistoryError extends RevertError {
|
||||
constructor(selector?: string) {
|
||||
super('NoRollbackHistoryError', 'NoRollbackHistoryError(bytes4 selector)', {
|
||||
export class NotInRollbackHistoryError extends RevertError {
|
||||
constructor(selector?: string, targetImpl?: string) {
|
||||
super('NotInRollbackHistoryError', 'NotInRollbackHistoryError(bytes4 selector, address targetImpl)', {
|
||||
selector,
|
||||
targetImpl,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
const types = [NoRollbackHistoryError];
|
||||
const types = [NotInRollbackHistoryError];
|
||||
|
||||
// Register the types we've defined.
|
||||
for (const type of types) {
|
||||
|
||||
Reference in New Issue
Block a user