// File: alfanick[P]rest-cpp/src/rest/response.cpp
// Function: REST::Response::error(REST::HTTP::Error&)
void Response::error(HTTP::Error &error) {
  status = error.code();
  status_message = error.what();
  raw.clear();
  data = {
    { "status", "error" },
    { "error", {
      { "code", status },
      { "message", status_message }
    }}
  };
}

// Assembly:
subq $0x328, %rsp            # imm = 0x328
movq %rdi, 0x320(%rsp)
movq %rsi, 0x318(%rsp)
movq 0x320(%rsp), %rax
movq %rax, 0x198(%rsp)
movq 0x318(%rsp), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
callq *%rax
movl %eax, %ecx
movq 0x198(%rsp), %rax
movl %ecx, (%rax)
movq 0x318(%rsp), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
callq *%rax
movq 0x198(%rsp), %rdi
movq %rax, %rsi
addq $0x8, %rdi
callq 0x955e0
movq 0x198(%rsp), %rdi
addq $0x28, %rdi
callq 0x95000
movb $0x1, 0x1a5(%rsp)
leaq 0x2d8(%rsp), %rax
movq %rax, 0x2d0(%rsp)
leaq 0x2a0(%rsp), %rdi
movq %rdi, 0x298(%rsp)
leaq 0xad85(%rip), %rsi      # 0xe6c9e
callq 0x92180
jmp 0xdbf20
leaq 0x2b0(%rsp), %rdi
movq %rdi, 0x298(%rsp)
leaq 0x83fa(%rip), %rsi      # 0xe4331
callq 0x92180
jmp 0xdbf3e
leaq 0x2a0(%rsp), %rax
movq %rax, 0x2c0(%rsp)
movq $0x2, 0x2c8(%rsp)
movq 0x2c0(%rsp), %rsi
movq 0x2c8(%rsp), %rdx
leaq 0x2d8(%rsp), %rdi
movl $0x1, %ecx
movl $0x2, %r8d
callq 0x8eb00
jmp 0xdbf84
leaq 0x2e8(%rsp), %rax
movq %rax, 0x190(%rsp)
movq %rax, 0x2d0(%rsp)
movb $0x1, 0x1a6(%rsp)
leaq 0x258(%rsp), %rdi
movq %rdi, 0x250(%rsp)
leaq 0x8376(%rip), %rsi      # 0xe4331
callq 0x92180
jmp 0xdbfc2
leaq 0x268(%rsp), %rax
movq %rax, 0x188(%rsp)
movq %rax, 0x250(%rsp)
movb $0x1, 0x1a7(%rsp)
leaq 0x220(%rsp), %rax
movq %rax, 0x218(%rsp)
leaq 0x1e8(%rsp), %rdi
movq %rdi, 0x1e0(%rsp)
leaq 0xac9c(%rip), %rsi      # 0xe6ca5
callq 0x92180
jmp 0xdc010
movq 0x198(%rsp), %rax
leaq 0x1f8(%rsp), %rdi
movq %rdi, 0x1e0(%rsp)
movl (%rax), %esi
callq 0x995c0
jmp 0xdc031
leaq 0x1e8(%rsp), %rax
movq %rax, 0x208(%rsp)
movq $0x2, 0x210(%rsp)
movq 0x208(%rsp), %rsi
movq 0x210(%rsp), %rdx
leaq 0x220(%rsp), %rdi
movl $0x1, %ecx
movl $0x2, %r8d
callq 0x8eb00
jmp 0xdc077
leaq 0x230(%rsp), %rax
movq %rax, 0x180(%rsp)
movq %rax, 0x218(%rsp)
leaq 0x1b0(%rsp), %rdi
movq %rdi, 0x1a8(%rsp)
leaq 0xac04(%rip), %rsi      # 0xe6caa
callq 0x92180
jmp 0xdc0ad
movq 0x198(%rsp), %rsi
leaq 0x1c0(%rsp), %rdi
movq %rdi, 0x1a8(%rsp)
addq $0x8, %rsi
callq 0x91170
jmp 0xdc0d0
movq 0x180(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
movq %rax, 0x1d0(%rsp)
movq $0x2, 0x1d8(%rsp)
movq 0x1d0(%rsp), %rsi
movq 0x1d8(%rsp), %rdx
movl $0x1, %ecx
movl $0x2, %r8d
callq 0x8eb00
jmp 0xdc116
movq 0x188(%rsp), %rdi
movb $0x0, 0x1a7(%rsp)
leaq 0x220(%rsp), %rax
movq %rax, 0x240(%rsp)
movq $0x2, 0x248(%rsp)
movq 0x240(%rsp), %rsi
movq 0x248(%rsp), %rdx
movl $0x1, %ecx
movl $0x2, %r8d
callq 0x8eb00
jmp 0xdc164
movq 0x190(%rsp), %rdi
movb $0x0, 0x1a6(%rsp)
leaq 0x258(%rsp), %rax
movq %rax, 0x278(%rsp)
movq $0x2, 0x280(%rsp)
movq 0x278(%rsp), %rsi
movq 0x280(%rsp), %rdx
movl $0x1, %ecx
movl $0x2, %r8d
callq 0x8eb00
jmp 0xdc1b2
movb $0x0, 0x1a5(%rsp)
leaq 0x2d8(%rsp), %rax
movq %rax, 0x2f8(%rsp)
movq $0x2, 0x300(%rsp)
movq 0x2f8(%rsp), %rsi
movq 0x300(%rsp), %rdx
leaq 0x308(%rsp), %rdi
movl $0x1, %ecx
movl $0x2, %r8d
callq 0x8eb00
jmp 0xdc200
movq 0x198(%rsp), %rdi
addq $0x78, %rdi
leaq 0x308(%rsp), %rsi
callq 0x92ce0
leaq 0x308(%rsp), %rdi
callq 0x90790
leaq 0x2d8(%rsp), %rax
movq %rax, 0x170(%rsp)
addq $0x20, %rax
movq %rax, 0x178(%rsp)
movq 0x178(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0x168(%rsp)
callq 0x90790
movq 0x170(%rsp), %rcx
movq 0x168(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0x178(%rsp)
jne 0xdc242
leaq 0x258(%rsp), %rax
movq %rax, 0x158(%rsp)
addq $0x20, %rax
movq %rax, 0x160(%rsp)
movq 0x160(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0x150(%rsp)
callq 0x90790
movq 0x158(%rsp), %rcx
movq 0x150(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0x160(%rsp)
jne 0xdc294
leaq 0x220(%rsp), %rax
movq %rax, 0x140(%rsp)
addq $0x20, %rax
movq %rax, 0x148(%rsp)
movq 0x148(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0x138(%rsp)
callq 0x90790
movq 0x140(%rsp), %rcx
movq 0x138(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0x148(%rsp)
jne 0xdc2e6
leaq 0x1b0(%rsp), %rax
movq %rax, 0x128(%rsp)
addq $0x20, %rax
movq %rax, 0x130(%rsp)
movq 0x130(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0x120(%rsp)
callq 0x90790
movq 0x128(%rsp), %rcx
movq 0x120(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0x130(%rsp)
jne 0xdc338
leaq 0x1e8(%rsp), %rax
movq %rax, 0x110(%rsp)
addq $0x20, %rax
movq %rax, 0x118(%rsp)
movq 0x118(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0x108(%rsp)
callq 0x90790
movq 0x110(%rsp), %rcx
movq 0x108(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0x118(%rsp)
jne 0xdc38a
leaq 0x2a0(%rsp), %rax
movq %rax, 0xf8(%rsp)
addq $0x20, %rax
movq %rax, 0x100(%rsp)
movq 0x100(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0xf0(%rsp)
callq 0x90790
movq 0xf8(%rsp), %rcx
movq 0xf0(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0x100(%rsp)
jne 0xdc3dc
addq $0x328, %rsp            # imm = 0x328
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x290(%rsp)
movl %eax, 0x28c(%rsp)
movq 0x298(%rsp), %rax
leaq 0x2a0(%rsp), %rcx
cmpq %rax, %rcx
movq %rax, 0xe8(%rsp)
je 0xdc481
movq 0xe8(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0xe0(%rsp)
callq 0x90790
movq 0xe0(%rsp), %rax
leaq 0x2a0(%rsp), %rcx
cmpq %rcx, %rax
movq %rax, 0xe8(%rsp)
jne 0xdc44b
jmp 0xdc860
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x290(%rsp)
movl %eax, 0x28c(%rsp)
jmp 0xdc821
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x290(%rsp)
movl %eax, 0x28c(%rsp)
jmp 0xdc7cd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x290(%rsp)
movl %eax, 0x28c(%rsp)
movq 0x1e0(%rsp), %rax
leaq 0x1e8(%rsp), %rcx
cmpq %rax, %rcx
movq %rax, 0xd8(%rsp)
je 0xdc51f
movq 0xd8(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0xd0(%rsp)
callq 0x90790
movq 0xd0(%rsp), %rax
leaq 0x1e8(%rsp), %rcx
cmpq %rcx, %rax
movq %rax, 0xd8(%rsp)
jne 0xdc4e9
jmp 0xdc779
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x290(%rsp)
movl %eax, 0x28c(%rsp)
jmp 0xdc73a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x290(%rsp)
movl %eax, 0x28c(%rsp)
movq 0x1a8(%rsp), %rax
leaq 0x1b0(%rsp), %rcx
cmpq %rax, %rcx
movq %rax, 0xc8(%rsp)
je 0xdc5a4
movq 0xc8(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0xc0(%rsp)
callq 0x90790
movq 0xc0(%rsp), %rax
leaq 0x1b0(%rsp), %rcx
cmpq %rcx, %rax
movq %rax, 0xc8(%rsp)
jne 0xdc56e
jmp 0xdc73a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x290(%rsp)
movl %eax, 0x28c(%rsp)
jmp 0xdc6fb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x290(%rsp)
movl %eax, 0x28c(%rsp)
jmp 0xdc6ad
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x290(%rsp)
movl %eax, 0x28c(%rsp)
jmp 0xdc659
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x290(%rsp)
movl %eax, 0x28c(%rsp)
leaq 0x2d8(%rsp), %rax
movq %rax, 0xb0(%rsp)
addq $0x20, %rax
movq %rax, 0xb8(%rsp)
movq 0xb8(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0xa8(%rsp)
callq 0x90790
movq 0xb0(%rsp), %rcx
movq 0xa8(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0xb8(%rsp)
jne 0xdc621
jmp 0xdc659
leaq 0x258(%rsp), %rax
movq %rax, 0x98(%rsp)
addq $0x20, %rax
movq %rax, 0xa0(%rsp)
movq 0xa0(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0x90(%rsp)
callq 0x90790
movq 0x98(%rsp), %rcx
movq 0x90(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0xa0(%rsp)
jne 0xdc675
jmp 0xdc6ad
leaq 0x220(%rsp), %rax
movq %rax, 0x80(%rsp)
addq $0x20, %rax
movq %rax, 0x88(%rsp)
movq 0x88(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0x78(%rsp)
callq 0x90790
movq 0x80(%rsp), %rcx
movq 0x78(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0x88(%rsp)
jne 0xdc6c9
jmp 0xdc6fb
leaq 0x1b0(%rsp), %rax
movq %rax, 0x68(%rsp)
addq $0x20, %rax
movq %rax, 0x70(%rsp)
movq 0x70(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0x60(%rsp)
callq 0x90790
movq 0x68(%rsp), %rcx
movq 0x60(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0x70(%rsp)
jne 0xdc711
jmp 0xdc73a
leaq 0x1e8(%rsp), %rax
movq %rax, 0x50(%rsp)
addq $0x20, %rax
movq %rax, 0x58(%rsp)
movq 0x58(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0x48(%rsp)
callq 0x90790
movq 0x50(%rsp), %rcx
movq 0x48(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0x58(%rsp)
jne 0xdc750
jmp 0xdc779
testb $0x1, 0x1a7(%rsp)
jne 0xdc785
jmp 0xdc7cb
movq 0x218(%rsp), %rax
leaq 0x220(%rsp), %rcx
cmpq %rax, %rcx
movq %rax, 0x40(%rsp)
je 0xdc7c9
movq 0x40(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0x38(%rsp)
callq 0x90790
movq 0x38(%rsp), %rax
leaq 0x220(%rsp), %rcx
cmpq %rcx, %rax
movq %rax, 0x40(%rsp)
jne 0xdc79f
jmp 0xdc7cb
jmp 0xdc7cd
testb $0x1, 0x1a6(%rsp)
jne 0xdc7d9
jmp 0xdc81f
movq 0x250(%rsp), %rax
leaq 0x258(%rsp), %rcx
cmpq %rax, %rcx
movq %rax, 0x30(%rsp)
je 0xdc81d
movq 0x30(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0x28(%rsp)
callq 0x90790
movq 0x28(%rsp), %rax
leaq 0x258(%rsp), %rcx
cmpq %rcx, %rax
movq %rax, 0x30(%rsp)
jne 0xdc7f3
jmp 0xdc81f
jmp 0xdc821
leaq 0x2a0(%rsp), %rax
movq %rax, 0x18(%rsp)
addq $0x20, %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, 0x10(%rsp)
callq 0x90790
movq 0x18(%rsp), %rcx
movq 0x10(%rsp), %rax
cmpq %rcx, %rax
movq %rax, 0x20(%rsp)
jne 0xdc837
jmp 0xdc860
testb $0x1, 0x1a5(%rsp)
jne 0xdc86c
jmp 0xdc8b0
movq 0x2d0(%rsp), %rax
leaq 0x2d8(%rsp), %rcx
cmpq %rax, %rcx
movq %rax, 0x8(%rsp)
je 0xdc8ae
movq 0x8(%rsp), %rdi
addq $-0x10, %rdi
movq %rdi, (%rsp)
callq 0x90790
movq (%rsp), %rax
leaq 0x2d8(%rsp), %rcx
cmpq %rcx, %rax
movq %rax, 0x8(%rsp)
jne 0xdc886
jmp 0xdc8b0
jmp 0xdc8b2
movq 0x290(%rsp), %rdi
callq 0x981c0
nop