Nothing
Code
am_sync_encode(doc1, "not a sync state")
Condition
Error in `am_sync_encode()`:
! Expected external pointer for sync state
Code
am_sync_encode(doc1, 123)
Condition
Error in `am_sync_encode()`:
! Expected external pointer for sync state
Code
am_sync_encode(doc1, list())
Condition
Error in `am_sync_encode()`:
! Expected external pointer for sync state
Code
am_sync_decode(doc, sync_state, raw(0))
Condition
Error in `am_sync_decode()`:
! Automerge error at sync.c:LINE: not enough input
Code
am_sync_decode(doc, sync_state, bad_msg)
Condition
Error in `am_sync_decode()`:
! Automerge error at sync.c:LINE: expected [66, 67] but found 158
Code
am_sync_decode(doc, sync_state, as.raw(c(255, 255, 255)))
Condition
Error in `am_sync_decode()`:
! Automerge error at sync.c:LINE: expected [66, 67] but found 255
Code
am_fork(doc, heads = list(123))
Condition
Error in `am_fork()`:
! All heads must be raw vectors (change hashes)
Code
am_fork(doc, heads = list("not raw"))
Condition
Error in `am_fork()`:
! All heads must be raw vectors (change hashes)
Code
am_fork(doc, heads = list(raw(32), "invalid", raw(32)))
Condition
Error in `am_fork()`:
! All heads must be raw vectors (change hashes)
Code
am_apply_changes(doc, list(123))
Condition
Error in `am_apply_changes()`:
! All changes must be raw vectors (got type 14 at index 0)
Code
am_apply_changes(doc, list("not raw"))
Condition
Error in `am_apply_changes()`:
! All changes must be raw vectors (got type 16 at index 0)
Code
am_apply_changes(doc, list(bad_change))
Condition
Error in `am_apply_changes()`:
! Failed to apply change at index 0: unable to parse chunk: failed to parse header: Invalid magic bytes
Code
am_get_change_by_hash(doc, raw(0))
Condition
Error in `am_get_change_by_hash()`:
! Change hash must be exactly 32 bytes
Code
am_get_change_by_hash(doc, raw(31))
Condition
Error in `am_get_change_by_hash()`:
! Change hash must be exactly 32 bytes
Code
am_cursor(map_obj, 0)
Condition
Error in `am_cursor()`:
! Automerge error at cursors.c:LINE: invalid op for object of type `map`
Code
am_mark(list_obj, 0, 2, "bold", TRUE)
Condition
Error in `am_mark()`:
! Automerge error at cursors.c:LINE: invalid op for object of type `list`
Code
am_put(doc, items, 10000, "last")
Condition
Error in `am_put()`:
! Automerge error at objects.c:LINE: Invalid pos 9999
Code
am_delete(doc, items, 10)
Condition
Error in `am_delete()`:
! Automerge error at objects.c:LINE: Invalid pos 9
Code
am_cursor(text_obj, 4)
Condition
Error in `am_cursor()`:
! Automerge error at cursors.c:LINE: index 4 is out of bounds
Code
am_cursor(text_obj, 1000)
Condition
Error in `am_cursor()`:
! Automerge error at cursors.c:LINE: index 1000 is out of bounds
Code
am_mark(text_obj, 0, 1000, "invalid", "value")
Condition
Error in `am_mark()`:
! Automerge error at cursors.c:LINE: index 1000 is out of bounds
Code
am_counter_increment(doc, AM_ROOT, "nonexistent", 1)
Condition
Error in `am_counter_increment()`:
! Automerge error at objects.c:LINE: increment operations must be against a counter value
Code
am_counter_increment(doc, counters, 1, 1)
Condition
Error in `am_counter_increment()`:
! Automerge error at objects.c:LINE: index 0 is out of bounds
Code
am_create(actor_id = "not-valid-hex")
Condition
Error in `am_create()`:
! Automerge error at document.c:LINE: invalid actor ID `not-valid-hex`
Code
am_sync_encode(doc, list())
Condition
Error in `am_sync_encode()`:
! Expected external pointer for sync state
Code
am_sync_encode(doc, raw(10))
Condition
Error in `am_sync_encode()`:
! Expected external pointer for sync state
Code
am_fork(doc, heads = list(raw(5)))
Condition
Error in `am_fork()`:
! Invalid change hash at index 0
Code
am_fork(doc, heads = list(as.raw(1:50)))
Condition
Error in `am_fork()`:
! Invalid change hash at index 0
Code
am_sync_decode(doc2, sync_state, bad_msg)
Condition
Error in `am_sync_decode()`:
! Automerge error at sync.c:LINE: expected [66, 67] but found 0
Code
am_get_changes(doc, list(raw(5)))
Condition
Error in `am_get_changes()`:
! Invalid change hash
Code
am_get_changes(doc, list(as.raw(1:50)))
Condition
Error in `am_get_changes()`:
! Invalid change hash
Code
am_cursor(text_obj, 0)
Condition
Error in `am_cursor()`:
! Automerge error at cursors.c:LINE: index 0 is out of bounds
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.