Skip to content

Commit 8bdad37

Browse files
committed
Assume it is an error - RFC errata send
1 parent bb0f4d1 commit 8bdad37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/tao/json/value.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ namespace tao
461461
void erase( const json_pointer & k )
462462
{
463463
if ( ! k ) {
464-
throw "TODO: Clarify with RFC!!!";
464+
throw std::runtime_error( "invalid json_pointer '' for erase" );
465465
}
466466
const auto sp = k.split();
467467
basic_value & v = internal::json_pointer_at( this, sp.first );

0 commit comments

Comments
 (0)